wok-6.x annotate db/receipt @ 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 | d5a3f5d2ac0e |
children | 77dd49ac7bac |
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@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" |
pankso@12989 | 12 HOST_ARCH="i486 arm" |
slaxemulator@10298 | 13 |
slaxemulator@10298 | 14 DEPENDS="glibc-base libdb" |
pankso@12989 | 15 BUILD_DEPENDS="" |
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 |
pankso@12989 | 21 ../dist/configure \ |
pankso@12989 | 22 --enable-compat185 \ |
slaxemulator@10298 | 23 $CONFIGURE_ARGS && |
slaxemulator@10298 | 24 make && make install |
pascal@1155 | 25 } |
pascal@1155 | 26 |
pascal@1155 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1155 | 28 genpkg_rules() |
pascal@1155 | 29 { |
pascal@4533 | 30 mkdir -p $fs/usr |
pankso@12989 | 31 cp -a $install/usr/bin $fs/usr |
pascal@1155 | 32 } |