wok-6.x annotate gnupg/receipt @ rev 10286
glib: use native i486 toolchain (will have to fix later, we need on tank since it a huge bdeps)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 22 00:21:11 2011 +0200 (2011-05-22) |
parents | 3e9c5c3cf12e |
children | ea7ba52ef854 |
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 |
erjo@9941 | 12 DEPENDS="libusb-compat bzlib libcurl libssl readline zlib libgpg-error pth libksba \ |
erjo@9941 | 13 libgcrypt libassuan pinentry" |
erjo@9941 | 14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev pth-dev" |
erjo@9941 | 15 |
pankso@29 | 16 # Rules to configure and make the package. |
pankso@29 | 17 compile_rules() |
pankso@29 | 18 { |
pankso@29 | 19 cd $src |
pankso@4062 | 20 ./configure \ |
pankso@4062 | 21 --libexecdir=/usr/lib \ |
slaxemulator@9835 | 22 --disable-ldap && |
pascal@2484 | 23 make && |
slaxemulator@9835 | 24 make install |
pankso@29 | 25 } |
pankso@29 | 26 |
pankso@29 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 28 genpkg_rules() |
pankso@29 | 29 { |
pankso@4062 | 30 mkdir -p $fs/usr/share |
pankso@29 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@29 | 32 cp -a $_pkg/usr/lib $fs/usr |
pascal@4292 | 33 ln -s gpg2 $fs/usr/bin/gpg |
pankso@29 | 34 cp -a $_pkg/usr/share/gnupg $fs/usr/share |
pankso@4062 | 35 # Chmod for gnup-zip |
pankso@29 | 36 chmod 755 $fs/usr/bin/* |
pankso@29 | 37 } |