wok annotate db/receipt @ rev 11047
Up: clamtk to 4.36.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 16 22:44:10 2011 +0000 (2011-10-16) |
parents | 39483837ccd2 |
children | 65940fb0441b |
rev | line source |
---|---|
pascal@1155 | 1 # SliTaz package receipt. |
pascal@1155 | 2 |
pascal@1155 | 3 PACKAGE="db" |
slaxemulator@6356 | 4 VERSION="4.8.26" |
pascal@1423 | 5 CATEGORY="misc" |
pascal@1155 | 6 SHORT_DESC="Berkeley database system." |
pascal@1155 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1155 | 8 TARBALL="$PACKAGE-$VERSION.NC.tar.gz" |
pascal@1155 | 9 WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/" |
pascal@1155 | 10 WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL" |
slaxemulator@10298 | 11 TAGS="database" |
slaxemulator@10298 | 12 |
slaxemulator@10298 | 13 DEPENDS="glibc-base libdb" |
gokhlayeh@8176 | 14 BUILD_DEPENDS="gcc" |
slaxemulator@10298 | 15 |
slaxemulator@10416 | 16 # Rules to compile & install the temporary toolchain. |
slaxemulator@10416 | 17 cook_tmp_toolchain() |
slaxemulator@10416 | 18 { |
slaxemulator@10416 | 19 cd $src/build_unix |
slaxemulator@10416 | 20 ../dist/configure --enable-compat185 && |
slaxemulator@10416 | 21 make && make install |
slaxemulator@10416 | 22 } |
pascal@1155 | 23 |
pascal@1155 | 24 # Rules to configure and make the package. |
pascal@1155 | 25 compile_rules() |
pascal@1155 | 26 { |
gokhlayeh@8176 | 27 cd $src/build_unix |
slaxemulator@10298 | 28 ../dist/configure --enable-compat185 \ |
slaxemulator@10298 | 29 $CONFIGURE_ARGS && |
slaxemulator@10298 | 30 make && make install |
pascal@1155 | 31 } |
pascal@1155 | 32 |
pascal@1155 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1155 | 34 genpkg_rules() |
pascal@1155 | 35 { |
pascal@4533 | 36 mkdir -p $fs/usr |
pascal@1155 | 37 cp -a $_pkg/usr/bin $fs/usr |
pascal@1155 | 38 } |