wok view gnupg/receipt @ rev 20368

gnupg: try these new configure options
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Jun 10 07:45:44 2018 +0000 (2018-06-10)
parents ea48c7f9dc3d
children 1c2c575ba65f
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.2.8"
5 CATEGORY="security"
6 SHORT_DESC="Free implementation of the OpenPGP."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnupg.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL"
13 DEPENDS="bzlib libassuan libcurl libgcrypt libksba libusb-compat ncurses pth \
14 readline pinentry gnutls libusb sqlite openldap npth"
15 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
16 pth-dev curl-dev zlib-dev libusb-compat-dev readline-dev gnutls-dev libusb-dev sqlite-dev openldap-dev npth-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Integrity check: https://www.gnupg.org/download/integrity_check.html
22 echo "d87553a125832ea90e8aeb3ceeecf24f88de56fb $SRC/$TARBALL" | sha1sum -c || exit 1
24 export LDFLAGS="-lrt"
25 ./configure $CONFIGURE_ARGS --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --libexecdir=/usr/lib/gnupg && make && make install
27 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 ln -sf gpg2 $fs/usr/bin/gpg
35 rm -r $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/locale
36 }