wok-current view gnupg/receipt @ rev 20357

GnuPG: add also libusb sqlite openldap npth
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 16:43:28 2018 +0000 (2018-06-09)
parents 06ae2c06883d
children 51a5735338fe
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 ./configure $CONFIGURE_ARGS && make && make install
26 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 ln -sf gpg2 $fs/usr/bin/gpg
34 rm -r $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/locale
35 }