wok annotate gnupg/receipt @ rev 20257

Add giflossy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 23:27:32 2018 +0100 (2018-03-13)
parents c299a49fa22c
children 06ae2c06883d
rev   line source
pankso@29 1 # SliTaz package receipt.
pankso@29 2
pankso@29 3 PACKAGE="gnupg"
al@19226 4 VERSION="2.0.30"
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 \
al@19226 14 readline pinentry"
pankso@10437 15 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
al@19226 16 pth-dev curl-dev zlib-dev libusb-compat-dev readline-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
al@19226 22 echo "a9f024588c356a55e2fd413574bfb55b2e18794a $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 }