wok-4.x view gnupg/receipt @ rev 6914

Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 21 23:49:16 2010 +0000 (2010-10-21)
parents b084f9ed4a92
children b8c8268b94bd
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.0.16"
5 CATEGORY="security"
6 SHORT_DESC="Free implementation of the OpenPGP."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libusb bzlib libcurl openssl readline zlib libgpg-error pth libksba \
9 libgcrypt libassuan"
10 BUILD_DEPENDS="$DEPENDS libusb-dev openssl-dev readline-dev zlib-dev libgpg-error-dev
11 pth-dev libgcrypt-dev libksba-dev pkg-config"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.gnupg.org/"
14 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --libexecdir=/usr/lib \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --disable-ldap \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib $fs/usr
37 ln -s gpg2 $fs/usr/bin/gpg
38 cp -a $_pkg/usr/share/gnupg $fs/usr/share
39 # Chmod for gnup-zip
40 chmod 755 $fs/usr/bin/*
41 }