wok-current view gnupg/receipt @ rev 10419
binutils: Replaced $BUILD_HOST with $HOST_SYSTEM.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue May 24 13:39:17 2011 +0000 (2011-05-24) |
parents | 3e9c5c3cf12e |
children | ea7ba52ef854 |
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 pth libksba \
13 libgcrypt libassuan pinentry"
14 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev pth-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --libexecdir=/usr/lib \
22 --disable-ldap &&
23 make &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 ln -s gpg2 $fs/usr/bin/gpg
34 cp -a $_pkg/usr/share/gnupg $fs/usr/share
35 # Chmod for gnup-zip
36 chmod 755 $fs/usr/bin/*
37 }