wok-current view gnupg/receipt @ rev 8041

Fix: garcon need intltool to compile & depend on libgio
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 20 16:26:01 2011 +0100 (2011-01-20)
parents 48ff926cffa1
children 2d83b01ba257
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 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 }