wok annotate gnupg/receipt @ rev 8051

Up: libxfcegui4 to 4.8.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Jan 20 15:43:49 2011 +0000 (2011-01-20)
parents 48ff926cffa1
children 2d83b01ba257
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"
pascal@5001 8 DEPENDS="libusb bzlib libcurl openssl readline zlib libgpg-error pth libksba \
slaxemulator@6773 9 libgcrypt libassuan"
slaxemulator@6329 10 BUILD_DEPENDS="$DEPENDS libusb-dev openssl-dev readline-dev zlib-dev libgpg-error-dev
slaxemulator@6773 11 pth-dev libgcrypt-dev libksba-dev pkg-config"
pankso@29 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@29 13 WEB_SITE="http://www.gnupg.org/"
pankso@29 14 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
pankso@29 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 --prefix=/usr \
pankso@4062 22 --libexecdir=/usr/lib \
pankso@4062 23 --infodir=/usr/share/info \
pankso@4062 24 --mandir=/usr/share/man \
pankso@4062 25 --disable-ldap \
pankso@4062 26 $CONFIGURE_ARGS &&
pascal@2484 27 make &&
pankso@29 28 make DESTDIR=$PWD/_pkg install
pankso@29 29 }
pankso@29 30
pankso@29 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@29 32 genpkg_rules()
pankso@29 33 {
pankso@4062 34 mkdir -p $fs/usr/share
pankso@29 35 cp -a $_pkg/usr/bin $fs/usr
pankso@29 36 cp -a $_pkg/usr/lib $fs/usr
pascal@4292 37 ln -s gpg2 $fs/usr/bin/gpg
pankso@29 38 cp -a $_pkg/usr/share/gnupg $fs/usr/share
pankso@4062 39 # Chmod for gnup-zip
pankso@29 40 chmod 755 $fs/usr/bin/*
pankso@29 41 }