wok-stable view gnupg/receipt @ rev 3091

locale-*: Dont source slitaz-18n file each time
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 16 21:40:06 2009 +0200 (2009-05-16)
parents 06126831b650
children 9c85e00fd8dd
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="1.4.9"
5 CATEGORY="security"
6 SHORT_DESC="Free implementation of the OpenPGP."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libusb bzlib cyrus-sasl libcurl libldap openssl readline zlib"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnupg.org/"
11 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --libexecdir=/usr/lib \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 cp -a $_pkg/usr/share/gnupg $fs/usr/share
31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
33 # Strip and chmod for gnup-zip.
34 strip -s $fs/usr/bin/* 2>/dev/null
35 chmod 755 $fs/usr/bin/*
36 }