wok-stable annotate db/receipt @ rev 6263
Up: htop to 0.8.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 14 14:22:05 2010 +0000 (2010-09-14) |
parents | df122542409d |
children | b75f20fcc427 |
rev | line source |
---|---|
pascal@1155 | 1 # SliTaz package receipt. |
pascal@1155 | 2 |
pascal@1155 | 3 PACKAGE="db" |
rcx@3645 | 4 VERSION="4.7.25" |
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" |
rcx@3645 | 11 BUILD_DEPENDS="slitaz-toolchain patch" |
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 { |
rcx@3645 | 18 mv $PACKAGE-$VERSION.NC $src |
pascal@1155 | 19 cd $src |
pascal@1155 | 20 cd build_unix |
rcx@3645 | 21 ../dist/configure \ |
pascal@4352 | 22 --enable-compat185 \ |
rcx@3645 | 23 --prefix=/usr \ |
rcx@3645 | 24 --infodir=/usr/share/info \ |
pascal@1554 | 25 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1554 | 26 make && |
pascal@1155 | 27 make DESTDIR=$PWD/../_pkg install |
pascal@1155 | 28 } |
pascal@1155 | 29 |
pascal@1155 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1155 | 31 genpkg_rules() |
pascal@1155 | 32 { |
pascal@4533 | 33 mkdir -p $fs/usr |
pascal@1155 | 34 cp -a $_pkg/usr/bin $fs/usr |
pascal@1155 | 35 # Package all db pkgs |
pascal@1155 | 36 for i in $(cd $WOK; ls -d db-* libdb) |
pascal@1155 | 37 do |
pascal@1155 | 38 tazwok genpkg $i |
pascal@1155 | 39 done |
pascal@1155 | 40 } |