wok-6.x annotate libgcrypt/receipt @ rev 2031
Add: lzip
author | Fabrice THIROUX <mimas@slitaz.org> |
---|---|
date | Sat Jan 10 00:51:09 2009 +0100 (2009-01-10) |
parents | a075ff895254 |
children | 3d5d3c9705f3 |
rev | line source |
---|---|
erjo@180 | 1 # SliTaz package receipt. |
erjo@180 | 2 |
erjo@180 | 3 PACKAGE="libgcrypt" |
erjo@180 | 4 VERSION="1.4.0" |
erjo@180 | 5 CATEGORY="security" |
erjo@180 | 6 SHORT_DESC="Cryptographic library based on GnuPG" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@180 | 8 DEPENDS="libgpg-error" |
pascal@1511 | 9 BUILD_DEPENDS="libgpg-error-dev libgpg-error" |
erjo@180 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@180 | 11 WEB_SITE="http://www.gnupg.org/" |
erjo@180 | 12 WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgcrypt/$TARBALL" |
erjo@180 | 13 |
erjo@180 | 14 # Rules to configure and make the package. |
erjo@180 | 15 compile_rules() |
erjo@180 | 16 { |
erjo@180 | 17 cd $src |
erjo@180 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1511 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1511 | 20 make && |
erjo@180 | 21 make DESTDIR=$PWD/_pkg install |
erjo@180 | 22 } |
erjo@180 | 23 |
erjo@180 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@180 | 25 genpkg_rules() |
erjo@180 | 26 { |
erjo@180 | 27 mkdir -p $fs/usr/bin $fs/usr/lib |
erjo@180 | 28 cp -a $_pkg/usr/bin/dumpsexp $fs/usr/bin |
erjo@180 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@180 | 30 strip -s $fs/usr/bin/* |
erjo@180 | 31 strip -s $fs/usr/lib/* |
erjo@180 | 32 } |
erjo@180 | 33 |