wok diff gpgme/receipt @ rev 20234

Up Dropbear (2018.76) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 13:05:36 2018 +0100 (2018-03-05)
parents e10edbeeabb4
children 147135448bcf
line diff
     1.1 --- a/gpgme/receipt	Thu Aug 15 17:59:48 2013 +0000
     1.2 +++ b/gpgme/receipt	Mon Mar 05 13:05:36 2018 +0100
     1.3 @@ -1,32 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gpgme"
     1.7 -VERSION="1.3.1"
     1.8 +VERSION="1.6.0"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="C language library that allows to add support for cryptography to a program."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 -LICENSE="GPL2"
    1.13 +LICENSE="GPL2 LGPL2.1"
    1.14 +WEB_SITE="https://www.gnupg.org/related_software/gpgme/"
    1.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://www.gnupg.org/gpgme.html"
    1.17 -WGET_URL="ftp://ftp.gnupg.org/gcrypt/gpgme/$TARBALL"
    1.18 +WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpgme/$TARBALL"
    1.19  
    1.20 -DEPENDS="libgpg-error pth gnupg"
    1.21 -BUILD_DEPENDS="libgpg-error-dev pth-dev gnupg libassuan-dev"
    1.22 +DEPENDS="libassuan"
    1.23 +BUILD_DEPENDS="libgpg-error-dev libassuan-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	touch src/.extra-stati.h
    1.30 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.31 -	make &&
    1.32 -	make DESTDIR=$DESTDIR install
    1.33 +	# Integrity check: https://www.gnupg.org/download/integrity_check.html
    1.34 +	echo "21510323495f6220f8f67610c3c27a23d761d43d  $SRC/$TARBALL" | sha1sum -c || exit 1
    1.35 +
    1.36 +	./configure $CONFIGURE_ARGS && make && make install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr/lib
    1.43 +	mkdir -p $fs/usr/bin $fs/usr/lib
    1.44 +	cp -a $install/usr/bin/gpgme-tool $fs/usr/bin
    1.45  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46  }
    1.47 -