wok-next view gnupg/receipt @ rev 13546

Up syslinux (4.06)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 01 18:16:46 2012 +0100 (2012-11-01)
parents ea7ba52ef854
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.0.19"
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 zlib-dev"
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 -sf 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 }