wok-current annotate 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
rev   line source
pankso@29 1 # SliTaz package receipt.
pankso@29 2
pankso@29 3 PACKAGE="gnupg"
erkan@20356 4 VERSION="2.2.8"
pankso@209 5 CATEGORY="security"
pankso@29 6 SHORT_DESC="Free implementation of the OpenPGP."
pankso@29 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@19226 9 WEB_SITE="https://www.gnupg.org/"
pankso@29 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL"
pankso@29 12
al@19226 13 DEPENDS="bzlib libassuan libcurl libgcrypt libksba libusb-compat ncurses pth \
erkan@20357 14 readline pinentry gnutls libusb sqlite openldap npth"
pankso@10437 15 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
erkan@20357 16 pth-dev curl-dev zlib-dev libusb-compat-dev readline-dev gnutls-dev libusb-dev sqlite-dev openldap-dev npth-dev"
erjo@9941 17
pankso@29 18 # Rules to configure and make the package.
pankso@29 19 compile_rules()
pankso@29 20 {
al@19226 21 # Integrity check: https://www.gnupg.org/download/integrity_check.html
erkan@20356 22 echo "d87553a125832ea90e8aeb3ceeecf24f88de56fb $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 23
al@19226 24 ./configure $CONFIGURE_ARGS && make && make install
al@19226 25
al@19226 26 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
pankso@29 27 }
pankso@29 28
pankso@29 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@29 30 genpkg_rules()
pankso@29 31 {
al@19226 32 cp -a $install/* $fs
slaxemulator@12347 33 ln -sf gpg2 $fs/usr/bin/gpg
al@19226 34 rm -r $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/locale
pankso@29 35 }