wok-next diff libgcrypt/receipt @ rev 19265

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 10:05:09 2016 +0300 (2016-07-04)
parents 17e313b5b9c1
children 35a20e111081
line diff
     1.1 --- a/libgcrypt/receipt	Tue Feb 17 09:42:47 2015 +0100
     1.2 +++ b/libgcrypt/receipt	Mon Jul 04 10:05:09 2016 +0300
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libgcrypt"
     1.7 -VERSION="1.5.3"
     1.8 +VERSION="1.7.1"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Cryptographic library based on GnuPG"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL2 LGPL2.1"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://www.gnupg.org/"
    1.15 -WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgcrypt/$TARBALL"
    1.16 +WEB_SITE="https://www.gnupg.org/related_software/libgcrypt/"
    1.17 +WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgcrypt/$TARBALL"
    1.18  HOST_ARCH="i486 arm"
    1.19  
    1.20  DEPENDS="libgpg-error"
    1.21 @@ -17,6 +17,9 @@
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 +	# Integrity check: https://www.gnupg.org/download/integrity_check.html
    1.26 +	echo "b688add52b622bb96bbd823ba21aa05a116d442f  $SRC/$TARBALL" | sha1sum -c || exit 1
    1.27 +
    1.28  	case "$ARCH" in
    1.29  		arm)
    1.30  			#LIBS="-L/cross/arm/sysroot/usr/lib -lgpg-error"
    1.31 @@ -30,6 +33,8 @@
    1.32  				--host=$HOST_SYSTEM ;;
    1.33  	esac &&
    1.34  	make && make install
    1.35 +
    1.36 +	find $install/usr/share/man -type f -exec gzip -9 \{\} \;
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.