wok view gnupg/receipt @ rev 1447

alsa-plugins alsa-utils bc bison id3lib krb5 libIDL: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 03 10:33:15 2008 +0000 (2008-10-03)
parents ccf126429a43
children 06126831b650
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="1.4.8"
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 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --libexecdir=/usr/lib \
17 --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/locale
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 cp -a $_pkg/usr/share/gnupg $fs/usr/share
30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
32 # Strip and chmod for gnup-zip.
33 strip -s $fs/usr/bin/* 2>/dev/null
34 chmod 755 $fs/usr/bin/*
35 }