wok annotate gnupg/receipt @ rev 4291

gnupg: add /usr/bin/gpg link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 17:33:22 2009 +0200 (2009-09-26)
parents 9c85e00fd8dd
children 05c14797bee1
rev   line source
pankso@29 1 # SliTaz package receipt.
pankso@29 2
pankso@29 3 PACKAGE="gnupg"
pankso@4062 4 VERSION="2.0.13"
pankso@209 5 CATEGORY="security"
pankso@29 6 SHORT_DESC="Free implementation of the OpenPGP."
pankso@29 7 MAINTAINER="pankso@slitaz.org"
pankso@4062 8 DEPENDS="libusb bzlib libcurl openssl readline zlib libgpg-error pth libksba"
pankso@4062 9 BUILD_DEPENDS="libusb-dev openssl-dev readline-dev zlib-dev libgpg-error-dev
pankso@4062 10 pth-dev libassuan libksba-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 --prefix=/usr \
pankso@4062 21 --libexecdir=/usr/lib \
pankso@4062 22 --infodir=/usr/share/info \
pankso@4062 23 --mandir=/usr/share/man \
pankso@4062 24 --disable-ldap \
pankso@4062 25 $CONFIGURE_ARGS &&
pascal@2484 26 make &&
pankso@29 27 make DESTDIR=$PWD/_pkg install
pankso@29 28 }
pankso@29 29
pankso@29 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@29 31 genpkg_rules()
pankso@29 32 {
pankso@4062 33 mkdir -p $fs/usr/share
pankso@29 34 cp -a $_pkg/usr/bin $fs/usr
pankso@29 35 cp -a $_pkg/usr/lib $fs/usr
pascal@4291 36 ln -s gpg2 $fs/usr/lib/gpg
pankso@29 37 cp -a $_pkg/usr/share/gnupg $fs/usr/share
pankso@4062 38 # Chmod for gnup-zip
pankso@29 39 chmod 755 $fs/usr/bin/*
pankso@29 40 }