wok view gnupg/receipt @ rev 274

Readd slitaz-configs (You was right Pascal)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 25 15:57:18 2008 +0100 (2008-02-25)
parents 3169dbe810b0
children d6b1113794bc
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="1.4.7"
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 }