From d959ffac1c516c1b58c7a3c1524c0cf34570edd5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 11 Feb 2014 03:44:30 +0100 Subject: [PATCH] db: switch to build_style=gnu-configure. --- srcpkgs/db/template | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/srcpkgs/db/template b/srcpkgs/db/template index 2cf6a799daf..9460dab3fae 100644 --- a/srcpkgs/db/template +++ b/srcpkgs/db/template @@ -3,6 +3,11 @@ pkgname=db version=5.3.28 revision=1 wrksrc="db-${version}" +build_wrksrc="build_unix" +build_style=gnu-configure +configure_script="../dist/configure" +configure_args="--enable-compat185 --enable-cxx --enable-static --enable-dbm" +make_build_args="LIBSO_LIBS=-lpthread" short_desc="The Berkeley DB embedded database system" maintainer="Juan RP " homepage="http://www.oracle.com/technetwork/products/berkeleydb/overview/index.html" @@ -10,21 +15,7 @@ license="BSD" distfiles="http://download.oracle.com/berkeley-db/db-${version}.tar.gz" checksum=e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628 -do_configure() { - cd build_unix - ../dist/configure ${configure_args} --enable-compat185 \ - --enable-cxx --enable-static --enable-dbm -} - -do_build() { - cd build_unix - make LIBSO_LIBS=-lpthread ${makejobs} -} - -do_install() { - cd build_unix - make DESTDIR=${DESTDIR} install - +post_install() { chmod 755 ${DESTDIR}/usr/bin/* vmkdir usr/share/doc/${pkgname}-${version} mv ${DESTDIR}/usr/docs/* ${DESTDIR}/usr/share/doc/${pkgname}-${version}