wok annotate gnupg/receipt @ rev 20656

tazpkg: do not assume . in search path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 13 11:43:59 2019 +0100 (2019-01-13)
parents 19418082a846
children 5f8ba8c434fa
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 \
pascal@20372 16 pth-dev curl-dev zlib-dev libusb-compat-dev readline-dev gnutls-dev \
pascal@20372 17 libgnutls libusb-dev sqlite-dev openldap-dev npth-dev"
erjo@9941 18
pankso@29 19 # Rules to configure and make the package.
pankso@29 20 compile_rules()
pankso@29 21 {
al@19226 22 # Integrity check: https://www.gnupg.org/download/integrity_check.html
erkan@20356 23 echo "d87553a125832ea90e8aeb3ceeecf24f88de56fb $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 24
erkan@20358 25 export LDFLAGS="-lrt"
pascal@20371 26 ./configure $CONFIGURE_ARGS && make && make install
al@19226 27
al@19226 28 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
pankso@29 29 }
pankso@29 30
pankso@29 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@29 32 genpkg_rules()
pankso@29 33 {
al@19226 34 cp -a $install/* $fs
al@19226 35 rm -r $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/locale
pankso@29 36 }