wok rev 12989

Up: db (5.3.21) and cross-compile for ARM
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jun 04 00:47:21 2012 +0200 (2012-06-04)
parents 6990e9de1db4
children 25462b421cd8
files db-dev/receipt db/receipt libdb/receipt
line diff
     1.1 --- a/db-dev/receipt	Sun Jun 03 18:16:58 2012 +0200
     1.2 +++ b/db-dev/receipt	Mon Jun 04 00:47:21 2012 +0200
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="db-dev"
     1.7 -VERSION="4.8.26"
     1.8 +VERSION="5.3.21"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Berkeley database development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  DEPENDS="db"
    1.13  WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
    1.14  WANTED="db"
    1.15 +HOST_ARCH="i486 arm"
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20  	mkdir -p $fs/usr/lib
    1.21 -	cp -a $_pkg/usr/lib/*a $fs/usr/lib
    1.22 -	cp -a $_pkg/usr/include $fs/usr
    1.23 +	cp -a $install/usr/lib/*a $fs/usr/lib
    1.24 +	cp -a $install/usr/include $fs/usr
    1.25  }
     2.1 --- a/db/receipt	Sun Jun 03 18:16:58 2012 +0200
     2.2 +++ b/db/receipt	Mon Jun 04 00:47:21 2012 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="db"
     2.7 -VERSION="4.8.26"
     2.8 +VERSION="5.3.21"
     2.9  CATEGORY="misc"
    2.10  SHORT_DESC="Berkeley database system."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12 @@ -9,23 +9,17 @@
    2.13  WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
    2.14  WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL"
    2.15  TAGS="database"
    2.16 +HOST_ARCH="i486 arm"
    2.17  
    2.18  DEPENDS="glibc-base libdb"
    2.19 -BUILD_DEPENDS="gcc"
    2.20 -
    2.21 -# Rules to compile & install the temporary toolchain.
    2.22 -cook_tmp_toolchain()
    2.23 -{
    2.24 -	cd $src/build_unix
    2.25 -	../dist/configure --enable-compat185 &&
    2.26 -	make &&	make install
    2.27 -}
    2.28 +BUILD_DEPENDS=""
    2.29  
    2.30  # Rules to configure and make the package.
    2.31  compile_rules()
    2.32  {
    2.33  	cd $src/build_unix
    2.34 -	../dist/configure --enable-compat185 \
    2.35 +	../dist/configure \
    2.36 +		--enable-compat185 \
    2.37  		$CONFIGURE_ARGS &&
    2.38  	make &&	make install
    2.39  }
    2.40 @@ -34,5 +28,5 @@
    2.41  genpkg_rules()
    2.42  {
    2.43  	mkdir -p $fs/usr
    2.44 -	cp -a $_pkg/usr/bin $fs/usr
    2.45 +	cp -a $install/usr/bin $fs/usr
    2.46  }
     3.1 --- a/libdb/receipt	Sun Jun 03 18:16:58 2012 +0200
     3.2 +++ b/libdb/receipt	Mon Jun 04 00:47:21 2012 +0200
     3.3 @@ -1,17 +1,18 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libdb"
     3.7 -VERSION="4.8.26"
     3.8 +VERSION="5.3.21"
     3.9  CATEGORY="misc"
    3.10  SHORT_DESC="Berkeley database libraries."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12  WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
    3.13  DEPENDS="glibc-base"
    3.14  WANTED="db"
    3.15 +HOST_ARCH="i486 arm"
    3.16  
    3.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.18  genpkg_rules()
    3.19  {
    3.20  	mkdir -p $fs/usr/lib
    3.21 -	cp -a $_pkg/usr/lib/*so $fs/usr/lib
    3.22 +	cp -a $install/usr/lib/*so $fs/usr/lib
    3.23  }