wok diff 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 diff
     1.1 --- a/gnupg/receipt	Sat Feb 07 22:15:03 2015 +0000
     1.2 +++ b/gnupg/receipt	Tue Mar 13 23:27:32 2018 +0100
     1.3 @@ -1,39 +1,35 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gnupg"
     1.7 -VERSION="2.0.19"
     1.8 +VERSION="2.0.30"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Free implementation of the OpenPGP."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 +WEB_SITE="https://www.gnupg.org/"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://www.gnupg.org/"
    1.16 -WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
    1.17 +WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL"
    1.18  
    1.19 -DEPENDS="libusb-compat bzlib libcurl libssl readline zlib libgpg-error \
    1.20 -pth libksba libgcrypt libassuan pinentry"
    1.21 +DEPENDS="bzlib libassuan libcurl libgcrypt libksba libusb-compat ncurses pth \
    1.22 +readline pinentry"
    1.23  BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
    1.24 -pth-dev libusb-compat-dev zlib-dev"
    1.25 +pth-dev curl-dev zlib-dev libusb-compat-dev readline-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31 -	./configure \
    1.32 -		--libexecdir=/usr/lib \
    1.33 -		--disable-ldap \
    1.34 -		$CONFIGURE_ARGS &&
    1.35 -	make && make install
    1.36 +	# Integrity check: https://www.gnupg.org/download/integrity_check.html
    1.37 +	echo "a9f024588c356a55e2fd413574bfb55b2e18794a  $SRC/$TARBALL" | sha1sum -c || exit 1
    1.38 +
    1.39 +	./configure $CONFIGURE_ARGS && make && make install
    1.40 +
    1.41 +	find $install/usr/share/man -type f -exec gzip -9 \{\} \;
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47 -	mkdir -p $fs/usr/share
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	cp -a $install/usr/lib $fs/usr
    1.50 +	cp -a $install/* $fs
    1.51  	ln -sf gpg2 $fs/usr/bin/gpg
    1.52 -	cp -a $install/usr/share/gnupg $fs/usr/share
    1.53 -	# Chmod for gnup-zip
    1.54 -	chmod 755 $fs/usr/bin/*
    1.55 +	rm -r $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/locale
    1.56  }