wok-next view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.0.17"
5 CATEGORY="security"
6 SHORT_DESC="Free implementation of the OpenPGP."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libusb-compat bzlib libcurl openssl readline zlib libgpg-error pth libksba \
9 libgcrypt libassuan pinentry"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnupg.org/"
12 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --libexecdir=/usr/lib \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --disable-ldap \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
35 ln -s gpg2 $fs/usr/bin/gpg
36 cp -a $_pkg/usr/share/gnupg $fs/usr/share
37 # Chmod for gnup-zip
38 chmod 755 $fs/usr/bin/*
39 }