wok-4.x annotate gnupg/receipt @ rev 3653
Add: libarchive, libarchive-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Jul 06 23:52:56 2009 +0200 (2009-07-06) |
parents | 06126831b650 |
children | 9c85e00fd8dd |
rev | line source |
---|---|
pankso@29 | 1 # SliTaz package receipt. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="gnupg" |
paul@1591 | 4 VERSION="1.4.9" |
pankso@209 | 5 CATEGORY="security" |
pankso@29 | 6 SHORT_DESC="Free implementation of the OpenPGP." |
pankso@29 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2484 | 8 DEPENDS="libusb bzlib cyrus-sasl libcurl libldap openssl readline zlib" |
pankso@29 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@29 | 10 WEB_SITE="http://www.gnupg.org/" |
pankso@29 | 11 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL" |
pankso@29 | 12 |
pankso@29 | 13 # Rules to configure and make the package. |
pankso@29 | 14 compile_rules() |
pankso@29 | 15 { |
pankso@29 | 16 cd $src |
pankso@29 | 17 ./configure --prefix=/usr --libexecdir=/usr/lib \ |
pankso@29 | 18 --infodir=/usr/share/info \ |
pascal@2484 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2484 | 20 make && |
pankso@29 | 21 make DESTDIR=$PWD/_pkg install |
pankso@29 | 22 } |
pankso@29 | 23 |
pankso@29 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 25 genpkg_rules() |
pankso@29 | 26 { |
pankso@29 | 27 mkdir -p $fs/usr/share/locale |
pankso@29 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@29 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@29 | 30 cp -a $_pkg/usr/share/gnupg $fs/usr/share |
pankso@29 | 31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@29 | 32 |
pankso@29 | 33 # Strip and chmod for gnup-zip. |
pankso@29 | 34 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@29 | 35 chmod 755 $fs/usr/bin/* |
pankso@29 | 36 } |
pankso@29 | 37 |