wok-stable view gnupg/receipt @ rev 2373
Add geanyvc (thanks Harald)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 18:03:32 2009 +0000 (2009-03-06) |
parents | d6b1113794bc |
children | dbf873bf74a8 |
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"
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 }