wok-current view gnupg/receipt @ rev 11880

perl-rrd-simple: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 28 08:42:35 2012 +0100 (2012-02-28)
parents d9517c5b07b5
children 30ee9bc1b81a
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnupg.org/"
10 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
12 DEPENDS="libusb-compat bzlib libcurl libssl readline zlib libgpg-error \
13 pth libksba libgcrypt libassuan pinentry"
14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
15 pth-dev libusb-compat-dev linux-module-headers"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --libexecdir=/usr/lib \
23 --disable-ldap \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 ln -s gpg2 $fs/usr/bin/gpg
35 cp -a $_pkg/usr/share/gnupg $fs/usr/share
36 # Chmod for gnup-zip
37 chmod 755 $fs/usr/bin/*
38 }