wok-6.x annotate db/receipt @ rev 4404
add: prosody
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Tue Oct 20 14:48:39 2009 +0000 (2009-10-20) |
parents | 055b57b92161 |
children | be5bba285abe |
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" |
pascal@1155 | 13 |
pascal@1155 | 14 # Rules to configure and make the package. |
pascal@1155 | 15 compile_rules() |
pascal@1155 | 16 { |
rcx@3645 | 17 mv $PACKAGE-$VERSION.NC $src |
pascal@1155 | 18 cd $src |
pascal@1155 | 19 cd build_unix |
rcx@3645 | 20 ../dist/configure \ |
pascal@4352 | 21 --enable-compat185 \ |
rcx@3645 | 22 --prefix=/usr \ |
rcx@3645 | 23 --infodir=/usr/share/info \ |
pascal@1554 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1554 | 25 make && |
pascal@1155 | 26 make DESTDIR=$PWD/../_pkg 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@1155 | 32 mkdir -p $fs/usr |
pascal@1155 | 33 cp -a $_pkg/usr/bin $fs/usr |
pascal@1155 | 34 # Package all db pkgs |
pascal@1155 | 35 for i in $(cd $WOK; ls -d db-* libdb) |
pascal@1155 | 36 do |
pascal@1155 | 37 tazwok genpkg $i |
pascal@1155 | 38 done |
pascal@1155 | 39 } |