wok-next view gnupg/receipt @ rev 4317
Codeblocks: hack for new glib
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 29 10:37:40 2009 +0200 (2009-09-29) |
parents | 37aa0eb7c634 |
children | 9f19aee613be |
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 BUILD_DEPENDS="libusb-dev openssl-dev readline-dev zlib-dev libgpg-error-dev
10 pth-dev libassuan libksba-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 --prefix=/usr \
21 --libexecdir=/usr/lib \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --disable-ldap \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib $fs/usr
36 ln -s gpg2 $fs/usr/bin/gpg
37 cp -a $_pkg/usr/share/gnupg $fs/usr/share
38 # Chmod for gnup-zip
39 chmod 755 $fs/usr/bin/*
40 }