wok-6.x view gnupg/receipt @ rev 5001

[f-g]*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 15:33:01 2010 +0100 (2010-02-28)
parents 05c14797bee1
children b084f9ed4a92
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.0.13"
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"
10 BUILD_DEPENDS="libusb-dev openssl-dev readline-dev zlib-dev libgpg-error-dev
11 pth-dev libassuan libksba-dev"
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 }