wok-current annotate gnupg/receipt @ rev 5832

Up: xfce4-session* (4.6.2)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jul 16 08:07:26 2010 +0200 (2010-07-16)
parents 05c14797bee1
children b084f9ed4a92
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"
pascal@5001 8 DEPENDS="libusb bzlib libcurl openssl readline zlib libgpg-error pth libksba \
pascal@5001 9 libgcrypt"
pankso@4062 10 BUILD_DEPENDS="libusb-dev openssl-dev readline-dev zlib-dev libgpg-error-dev
pankso@4062 11 pth-dev libassuan libksba-dev"
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 }