wok-next annotate gnupg/receipt @ rev 14356

python-couchdbkit, python-restclient: fix TARBALL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 17 12:59:13 2013 +0200 (2013-04-17)
parents ea7ba52ef854
children 2b9f96603415
rev   line source
pankso@29 1 # SliTaz package receipt.
pankso@29 2
pankso@29 3 PACKAGE="gnupg"
slaxemulator@12347 4 VERSION="2.0.19"
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 \
slaxemulator@12347 15 pth-dev libusb-compat-dev zlib-dev"
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
slaxemulator@12347 34 ln -sf 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 }