wok view gnupg/receipt @ rev 29

Add : gettex, grub, mercurial + stuff
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 14:00:16 2007 +0100 (2007-12-18)
parents
children ccf126429a43
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="1.4.7"
5 CATEGORY="extra"
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 }