wok-current view gnupg/receipt @ rev 17927

xorg-base-fonts: try to fix packaging.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 11 17:49:13 2015 +0300 (2015-04-11)
parents 3b8a7f962bd0
children ac006a7bf27c
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 }