wok-current annotate gnupg/receipt @ rev 9909

liblrdf: fix bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 15:26:23 2011 +0200 (2011-05-17)
parents 7ba9895e1216
children d9517c5b07b5
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"
gokhlayeh@9395 8 DEPENDS="libusb-compat bzlib libcurl openssl readline zlib libgpg-error pth libksba \
gokhlayeh@9191 9 libgcrypt libassuan pinentry"
slaxemulator@9835 10 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev pth-dev"
pankso@29 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@29 12 WEB_SITE="http://www.gnupg.org/"
pankso@29 13 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
pankso@29 14
pankso@29 15 # Rules to configure and make the package.
pankso@29 16 compile_rules()
pankso@29 17 {
pankso@29 18 cd $src
pankso@4062 19 ./configure \
pankso@4062 20 --libexecdir=/usr/lib \
slaxemulator@9835 21 --disable-ldap &&
pascal@2484 22 make &&
slaxemulator@9835 23 make install
pankso@29 24 }
pankso@29 25
pankso@29 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@29 27 genpkg_rules()
pankso@29 28 {
pankso@4062 29 mkdir -p $fs/usr/share
pankso@29 30 cp -a $_pkg/usr/bin $fs/usr
pankso@29 31 cp -a $_pkg/usr/lib $fs/usr
pascal@4292 32 ln -s gpg2 $fs/usr/bin/gpg
pankso@29 33 cp -a $_pkg/usr/share/gnupg $fs/usr/share
pankso@4062 34 # Chmod for gnup-zip
pankso@29 35 chmod 755 $fs/usr/bin/*
pankso@29 36 }