wok-next diff libgcrypt/receipt @ rev 19950
Add libegl-mesa
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 16 12:41:47 2017 +0200 (2017-10-16) |
parents | 35a20e111081 |
children | 2d54d154d5ca |
line diff
1.1 --- a/libgcrypt/receipt Fri Feb 03 12:13:00 2017 +0200 1.2 +++ b/libgcrypt/receipt Mon Oct 16 12:41:47 2017 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libgcrypt" 1.8 -VERSION="1.7.6" 1.9 +VERSION="1.7.7" 1.10 CATEGORY="security" 1.11 SHORT_DESC="Cryptographic library based on GnuPG" 1.12 MAINTAINER="erjo@slitaz.org" 1.13 @@ -11,16 +11,15 @@ 1.14 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgcrypt/$TARBALL" 1.17 +# https://www.gnupg.org/download/integrity_check.html 1.18 +TARBALL_SHA1="ea4ae1a4dba51f15095319419d7b42a0bf160384" 1.19 1.20 -DEPENDS="libgpg-error" 1.21 BUILD_DEPENDS="libgpg-error-dev" 1.22 +SPLIT="libgcrypt-dev" 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 - # Integrity check: https://www.gnupg.org/download/integrity_check.html 1.28 - echo "d2b9e0f413064cfc67188f80d3cbda887c755a62 $SRC/$TARBALL" | sha1sum -c || exit 1 1.29 - 1.30 case "$ARCH" in 1.31 arm) 1.32 #LIBS="-L/cross/arm/sysroot/usr/lib -lgpg-error" 1.33 @@ -28,7 +27,6 @@ 1.34 --build=i486-slitaz-linux \ 1.35 --host=arm-slitaz-linux-gnueabi ;; 1.36 *) 1.37 - #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgpg-error" 1.38 ./configure \ 1.39 --build=$HOST_SYSTEM \ 1.40 --host=$HOST_SYSTEM ;; 1.41 @@ -39,5 +37,8 @@ 1.42 # Rules to gen a SliTaz package suitable for Tazpkg. 1.43 genpkg_rules() 1.44 { 1.45 - cook_copy_files dumpsexp hmac256 *.so* 1.46 + case $PACKAGE in 1.47 + libgcrypt) copy @std; DEPENDS="libgpg-error";; 1.48 + *-dev) copy @dev; DEPENDS="libgcrypt libgpg-error-dev";; 1.49 + esac 1.50 }