wok annotate gnupg/receipt @ rev 15625

nut: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 08 16:00:02 2013 +0000 (2013-12-08)
parents 30ee9bc1b81a
children 3b8a7f962bd0
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"
pascal@14999 8 LICENSE="GPL3"
pankso@29 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@29 10 WEB_SITE="http://www.gnupg.org/"
pankso@29 11 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
pankso@29 12
pankso@10437 13 DEPENDS="libusb-compat bzlib libcurl libssl readline zlib libgpg-error \
pankso@10437 14 pth libksba libgcrypt libassuan pinentry"
pankso@10437 15 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
slaxemulator@12347 16 pth-dev libusb-compat-dev zlib-dev"
erjo@9941 17
pankso@29 18 # Rules to configure and make the package.
pankso@29 19 compile_rules()
pankso@29 20 {
pankso@29 21 cd $src
pankso@4062 22 ./configure \
pankso@4062 23 --libexecdir=/usr/lib \
pankso@10437 24 --disable-ldap \
pankso@10437 25 $CONFIGURE_ARGS &&
pankso@10437 26 make && make install
pankso@29 27 }
pankso@29 28
pankso@29 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@29 30 genpkg_rules()
pankso@29 31 {
pankso@4062 32 mkdir -p $fs/usr/share
pascal@14999 33 cp -a $install/usr/bin $fs/usr
pascal@14999 34 cp -a $install/usr/lib $fs/usr
slaxemulator@12347 35 ln -sf gpg2 $fs/usr/bin/gpg
pascal@14999 36 cp -a $install/usr/share/gnupg $fs/usr/share
pankso@4062 37 # Chmod for gnup-zip
pankso@29 38 chmod 755 $fs/usr/bin/*
pankso@29 39 }