wok view gnupg/receipt @ rev 15904

8086tiny: update compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 14 13:48:01 2014 +0000 (2014-02-14)
parents 30ee9bc1b81a
children 3b8a7f962bd0
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.0.19"
5 CATEGORY="security"
6 SHORT_DESC="Free implementation of the OpenPGP."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnupg.org/"
11 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
13 DEPENDS="libusb-compat bzlib libcurl libssl readline zlib libgpg-error \
14 pth libksba libgcrypt libassuan pinentry"
15 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
16 pth-dev libusb-compat-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --libexecdir=/usr/lib \
24 --disable-ldap \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 ln -sf gpg2 $fs/usr/bin/gpg
36 cp -a $install/usr/share/gnupg $fs/usr/share
37 # Chmod for gnup-zip
38 chmod 755 $fs/usr/bin/*
39 }