wok-next annotate gnupg/receipt @ rev 9764

polkit: Fix DEPENDS and BUILD_DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 15:42:05 2011 +0200 (2011-05-11)
parents 2d83b01ba257
children 3e9c5c3cf12e
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"
gokhlayeh@9395 8 DEPENDS="libusb-compat bzlib libcurl openssl readline zlib libgpg-error pth libksba \
gokhlayeh@9191 9 libgcrypt libassuan pinentry"
pankso@29 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@29 11 WEB_SITE="http://www.gnupg.org/"
pankso@29 12 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
pankso@29 13
pankso@29 14 # Rules to configure and make the package.
pankso@29 15 compile_rules()
pankso@29 16 {
pankso@29 17 cd $src
pankso@4062 18 ./configure \
pankso@4062 19 --prefix=/usr \
pankso@4062 20 --libexecdir=/usr/lib \
pankso@4062 21 --infodir=/usr/share/info \
pankso@4062 22 --mandir=/usr/share/man \
pankso@4062 23 --disable-ldap \
pankso@4062 24 $CONFIGURE_ARGS &&
pascal@2484 25 make &&
pankso@29 26 make DESTDIR=$PWD/_pkg 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
pankso@29 33 cp -a $_pkg/usr/bin $fs/usr
pankso@29 34 cp -a $_pkg/usr/lib $fs/usr
pascal@4292 35 ln -s gpg2 $fs/usr/bin/gpg
pankso@29 36 cp -a $_pkg/usr/share/gnupg $fs/usr/share
pankso@4062 37 # Chmod for gnup-zip
pankso@29 38 chmod 755 $fs/usr/bin/*
pankso@29 39 }