wok-current view gnupg/receipt @ rev 2531
fix vim: add post_remove command to restore busybox vi applet
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Mar 18 12:35:58 2009 +0100 (2009-03-18) |
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 }