wok-6.x annotate db/receipt @ rev 10298
db: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 18:52:33 2011 +0000 (2011-05-21) |
parents | 3cf1b9bc3031 |
children | d5a3f5d2ac0e |
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 |
pascal@1155 | 16 |
pascal@1155 | 17 # Rules to configure and make the package. |
pascal@1155 | 18 compile_rules() |
pascal@1155 | 19 { |
gokhlayeh@8176 | 20 cd $src/build_unix |
slaxemulator@10298 | 21 ../dist/configure --enable-compat185 \ |
slaxemulator@10298 | 22 $CONFIGURE_ARGS && |
slaxemulator@10298 | 23 make && make install |
pascal@1155 | 24 } |
pascal@1155 | 25 |
pascal@1155 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1155 | 27 genpkg_rules() |
pascal@1155 | 28 { |
pascal@4533 | 29 mkdir -p $fs/usr |
pascal@1155 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@1155 | 31 } |