wok-next diff gnupg/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 82b613cfd1e0
children
line diff
     1.1 --- a/gnupg/receipt	Fri Jan 04 17:29:48 2019 +0200
     1.2 +++ b/gnupg/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="gnupg"
     1.7 -VERSION="2.2.10"
     1.8 +VERSION="2.2.12"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Free implementation of the OpenPGP"
    1.11  MAINTAINER="devel@slitaz.org"
    1.12 @@ -11,14 +11,19 @@
    1.13  
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnupg/$TARBALL"
    1.16 +TARBALL_SHA1="2aeccc35ea8034306ff7a1072b84abbaa79619c3"
    1.17  # https://www.gnupg.org/download/integrity_check.html
    1.18 -TARBALL_SHA1="3e87504e2ca317718aa9b6299947ebf7e906b54e"
    1.19  
    1.20  BUILD_DEPENDS="libgpg-error-dev libassuan-dev libgcrypt-dev libksba-dev \
    1.21  npth-dev perl libusb-dev sqlite3-dev gettext-dev zlib-dev bzip2-dev \
    1.22  readline-dev texinfo gnutls-dev openldap-dev"
    1.23 +DEPENDS="libassuan libbzip2 libgcrypt libgnutls libgpg-error libksba libldap \
    1.24 +libsqlite3 libusb npth readline zlib   pinentry"
    1.25  
    1.26  compile_rules() {
    1.27 +	sed -e '/noinst_SCRIPTS = gpg-zip/c sbin_SCRIPTS += gpg-zip' \
    1.28 +		-i tools/Makefile.in # to build gpg-zip
    1.29 +
    1.30  	./configure \
    1.31  		--enable-symcryptrun \
    1.32  		--enable-maintainer-mode \
    1.33 @@ -28,26 +33,8 @@
    1.34  	makeinfo --plaintext       -o doc/gnupg.txt           doc/gnupg.texi &&
    1.35  	make install || return 1
    1.36  
    1.37 -	# FIXME.
    1.38 -	# Looks like functions install-exec-hook() from g10/Makefile work in
    1.39 -	# an unexpected manner. It required to spend too many time in debugging, so
    1.40 -	# better I'll apply here "fast and dirty hack" that will make the same:
    1.41 -	install -m755 g10/gpg  $install/usr/bin/gpg2
    1.42 -	install -m755 g10/gpgv $install/usr/bin/gpgv2
    1.43 -	# The same "hack" for doc/Makefile
    1.44 -	cook_pick_manpages doc/gpg.1 doc/gpgv.1
    1.45 -
    1.46 -	docdir="$install/usr/share/doc/gnupg-$VERSION"
    1.47 +	docdir="$install/usr/share/doc/$PACKAGE-$VERSION"
    1.48  	install -v -m755 -d $docdir/html
    1.49  	install -v -m644    doc/gnupg_nochunks.html  $docdir/html/gnupg.html
    1.50  	install -v -m644    doc/*.texi doc/gnupg.txt $docdir
    1.51 -
    1.52 -	ln -svf gpg2  $install/usr/bin/gpg
    1.53 -	ln -svf gpgv2 $install/usr/bin/gpgv
    1.54  }
    1.55 -
    1.56 -genpkg_rules() {
    1.57 -	copy @std
    1.58 -	DEPENDS="libbzip2 libassuan libgcrypt libgnutls libgpg-error libksba libldap \
    1.59 -	libsqlite3 libusb npth readline zlib   pinentry"
    1.60 -}