wok annotate db/receipt @ rev 3645
Upgrade: db (4.5.20 to 4.7.25)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Jul 06 16:50:15 2009 +0000 (2009-07-06) |
parents | 749730241669 |
children | 55ebdca75e49 |
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 # if [ -L $(which patch) ]; then |
rcx@3645 | 18 # echo "Please reinstall patch !" |
rcx@3645 | 19 # return 1 |
rcx@3645 | 20 # fi |
rcx@3645 | 21 mv $PACKAGE-$VERSION.NC $src |
pascal@1155 | 22 cd $src |
rcx@3645 | 23 # wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 || return 1 |
rcx@3645 | 24 # [ -f done.patch.4.5.20.1 ] || patch -p0 < patch.4.5.20.1 |
rcx@3645 | 25 # touch done.patch.4.5.20.1 |
pascal@1155 | 26 cd build_unix |
rcx@3645 | 27 ../dist/configure \ |
rcx@3645 | 28 --prefix=/usr \ |
rcx@3645 | 29 --infodir=/usr/share/info \ |
pascal@1554 | 30 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1554 | 31 make && |
pascal@1155 | 32 make DESTDIR=$PWD/../_pkg install |
pascal@1155 | 33 } |
pascal@1155 | 34 |
pascal@1155 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1155 | 36 genpkg_rules() |
pascal@1155 | 37 { |
pascal@1155 | 38 mkdir -p $fs/usr |
pascal@1155 | 39 cp -a $_pkg/usr/bin $fs/usr |
pascal@1155 | 40 # Package all db pkgs |
pascal@1155 | 41 for i in $(cd $WOK; ls -d db-* libdb) |
pascal@1155 | 42 do |
pascal@1155 | 43 tazwok genpkg $i |
pascal@1155 | 44 done |
pascal@1155 | 45 } |
erjo@1191 | 46 |
rcx@3645 | 47 #clean_wok() |
rcx@3645 | 48 #{ |
rcx@3645 | 49 # rm -rf PACKAGE-$VERSION.NC |
rcx@3645 | 50 #} |