wok-stable annotate gnupg/receipt @ rev 11559
Add mp3gain form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:19:13 2011 +0100 (2011-12-25) |
parents | d9517c5b07b5 |
children |
rev | line source |
---|---|
pankso@29 | 1 # SliTaz package receipt. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="gnupg" |
slaxemulator@7986 | 4 VERSION="2.0.17" |
pankso@209 | 5 CATEGORY="security" |
pankso@29 | 6 SHORT_DESC="Free implementation of the OpenPGP." |
pankso@29 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@29 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@29 | 9 WEB_SITE="http://www.gnupg.org/" |
pankso@29 | 10 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL" |
pankso@29 | 11 |
pankso@10437 | 12 DEPENDS="libusb-compat bzlib libcurl libssl readline zlib libgpg-error \ |
pankso@10437 | 13 pth libksba libgcrypt libassuan pinentry" |
pankso@10437 | 14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \ |
pankso@10437 | 15 pth-dev libusb-compat-dev linux-module-headers" |
erjo@9941 | 16 |
pankso@29 | 17 # Rules to configure and make the package. |
pankso@29 | 18 compile_rules() |
pankso@29 | 19 { |
pankso@29 | 20 cd $src |
pankso@4062 | 21 ./configure \ |
pankso@4062 | 22 --libexecdir=/usr/lib \ |
pankso@10437 | 23 --disable-ldap \ |
pankso@10437 | 24 $CONFIGURE_ARGS && |
pankso@10437 | 25 make && make install |
pankso@29 | 26 } |
pankso@29 | 27 |
pankso@29 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 29 genpkg_rules() |
pankso@29 | 30 { |
pankso@4062 | 31 mkdir -p $fs/usr/share |
pankso@29 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@29 | 33 cp -a $_pkg/usr/lib $fs/usr |
pascal@4292 | 34 ln -s gpg2 $fs/usr/bin/gpg |
pankso@29 | 35 cp -a $_pkg/usr/share/gnupg $fs/usr/share |
pankso@4062 | 36 # Chmod for gnup-zip |
pankso@29 | 37 chmod 755 $fs/usr/bin/* |
pankso@29 | 38 } |