wok view gnupg/receipt @ rev 7940

Up: slitaz-icon (1.1) - Sync theme with website/artwork
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 12 00:21:05 2011 +0100 (2011-01-12)
parents b084f9ed4a92
children b8c8268b94bd
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.0.16"
5 CATEGORY="security"
6 SHORT_DESC="Free implementation of the OpenPGP."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libusb bzlib libcurl openssl readline zlib libgpg-error pth libksba \
9 libgcrypt libassuan"
10 BUILD_DEPENDS="$DEPENDS libusb-dev openssl-dev readline-dev zlib-dev libgpg-error-dev
11 pth-dev libgcrypt-dev libksba-dev pkg-config"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.gnupg.org/"
14 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --libexecdir=/usr/lib \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --disable-ldap \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib $fs/usr
37 ln -s gpg2 $fs/usr/bin/gpg
38 cp -a $_pkg/usr/share/gnupg $fs/usr/share
39 # Chmod for gnup-zip
40 chmod 755 $fs/usr/bin/*
41 }