wok-current view gnupg/receipt @ rev 9835

gnupg: clean up and fixed BUILD_DEPENDS
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 15 12:57:23 2011 +0000 (2011-05-15)
parents 7ba9895e1216
children d9517c5b07b5
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 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev pth-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gnupg.org/"
13 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --libexecdir=/usr/lib \
21 --disable-ldap &&
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 ln -s gpg2 $fs/usr/bin/gpg
33 cp -a $_pkg/usr/share/gnupg $fs/usr/share
34 # Chmod for gnup-zip
35 chmod 755 $fs/usr/bin/*
36 }