wok-next annotate db/receipt @ rev 15608
hubbub: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 20:31:17 2013 +0000 (2013-12-06) |
parents | 77dd49ac7bac |
children | 24033cc7961e |
rev | line source |
---|---|
pascal@1155 | 1 # SliTaz package receipt. |
pascal@1155 | 2 |
pascal@1155 | 3 PACKAGE="db" |
pankso@12989 | 4 VERSION="5.3.21" |
pascal@1423 | 5 CATEGORY="misc" |
pascal@1155 | 6 SHORT_DESC="Berkeley database system." |
pascal@1155 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15472 | 8 LICENSE="BSD" |
pascal@1155 | 9 TARBALL="$PACKAGE-$VERSION.NC.tar.gz" |
pascal@1155 | 10 WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/" |
pascal@1155 | 11 WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL" |
slaxemulator@10298 | 12 TAGS="database" |
pankso@12989 | 13 HOST_ARCH="i486 arm" |
slaxemulator@10298 | 14 |
slaxemulator@10298 | 15 DEPENDS="glibc-base libdb" |
pankso@12989 | 16 BUILD_DEPENDS="" |
pascal@1155 | 17 |
pascal@1155 | 18 # Rules to configure and make the package. |
pascal@1155 | 19 compile_rules() |
pascal@1155 | 20 { |
gokhlayeh@8176 | 21 cd $src/build_unix |
pankso@12989 | 22 ../dist/configure \ |
pankso@12989 | 23 --enable-compat185 \ |
pascal@13018 | 24 --enable-dbm \ |
slaxemulator@10298 | 25 $CONFIGURE_ARGS && |
slaxemulator@10298 | 26 make && make install |
pascal@1155 | 27 } |
pascal@1155 | 28 |
pascal@1155 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1155 | 30 genpkg_rules() |
pascal@1155 | 31 { |
pascal@4533 | 32 mkdir -p $fs/usr |
pankso@12989 | 33 cp -a $install/usr/bin $fs/usr |
pascal@1155 | 34 } |