wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.0.30"
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"
15 BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
16 pth-dev curl-dev zlib-dev libusb-compat-dev readline-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 "a9f024588c356a55e2fd413574bfb55b2e18794a $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 }