wok annotate gnupg/receipt @ rev 4108
Up: apace. Add init script.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Sep 19 18:48:59 2009 +0000 (2009-09-19) |
parents | dbf873bf74a8 |
children | 37aa0eb7c634 |
rev | line source |
---|---|
pankso@29 | 1 # SliTaz package receipt. |
pankso@29 | 2 |
pankso@29 | 3 PACKAGE="gnupg" |
pankso@4062 | 4 VERSION="2.0.13" |
pankso@209 | 5 CATEGORY="security" |
pankso@29 | 6 SHORT_DESC="Free implementation of the OpenPGP." |
pankso@29 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4062 | 8 DEPENDS="libusb bzlib libcurl openssl readline zlib libgpg-error pth libksba" |
pankso@4062 | 9 BUILD_DEPENDS="libusb-dev openssl-dev readline-dev zlib-dev libgpg-error-dev |
pankso@4062 | 10 pth-dev libassuan libksba-dev" |
pankso@29 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@29 | 12 WEB_SITE="http://www.gnupg.org/" |
pankso@29 | 13 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL" |
pankso@29 | 14 |
pankso@29 | 15 # Rules to configure and make the package. |
pankso@29 | 16 compile_rules() |
pankso@29 | 17 { |
pankso@29 | 18 cd $src |
pankso@4062 | 19 ./configure \ |
pankso@4062 | 20 --prefix=/usr \ |
pankso@4062 | 21 --libexecdir=/usr/lib \ |
pankso@4062 | 22 --infodir=/usr/share/info \ |
pankso@4062 | 23 --mandir=/usr/share/man \ |
pankso@4062 | 24 --disable-ldap \ |
pankso@4062 | 25 $CONFIGURE_ARGS && |
pascal@2484 | 26 make && |
pankso@29 | 27 make DESTDIR=$PWD/_pkg install |
pankso@29 | 28 } |
pankso@29 | 29 |
pankso@29 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@29 | 31 genpkg_rules() |
pankso@29 | 32 { |
pankso@4062 | 33 mkdir -p $fs/usr/share |
pankso@29 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@29 | 35 cp -a $_pkg/usr/lib $fs/usr |
pankso@29 | 36 cp -a $_pkg/usr/share/gnupg $fs/usr/share |
pankso@4062 | 37 # Chmod for gnup-zip |
pankso@29 | 38 chmod 755 $fs/usr/bin/* |
pankso@29 | 39 } |