wok annotate db/receipt @ rev 8176
imported patch toolchain/db.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | 53e1828da719 |
children | 39483837ccd2 |
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" |
gokhlayeh@8176 | 11 BUILD_DEPENDS="gcc" |
rcx@3645 | 12 DEPENDS="glibc-base libdb" |
jozee@4934 | 13 TAGS="database" |
pascal@1155 | 14 |
pascal@1155 | 15 # Rules to configure and make the package. |
pascal@1155 | 16 compile_rules() |
pascal@1155 | 17 { |
gokhlayeh@8176 | 18 cd $src/build_unix |
gokhlayeh@8176 | 19 ../dist/configure --enable-compat185 && |
pascal@1554 | 20 make && |
gokhlayeh@8176 | 21 make install |
pascal@1155 | 22 } |
pascal@1155 | 23 |
pascal@1155 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1155 | 25 genpkg_rules() |
pascal@1155 | 26 { |
pascal@4533 | 27 mkdir -p $fs/usr |
pascal@1155 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@1155 | 29 } |