wok-6.x diff gpa/receipt @ rev 19605

kmod: link dynamically with libkmod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 04 10:42:55 2017 +0100 (2017-01-04)
parents 2a3377f9cb0b
children 9b15fcffdf1d
line diff
     1.1 --- a/gpa/receipt	Sat Mar 14 12:38:26 2015 +0100
     1.2 +++ b/gpa/receipt	Wed Jan 04 10:42:55 2017 +0100
     1.3 @@ -1,36 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gpa"
     1.7 -VERSION="0.9.7"
     1.8 +VERSION="0.9.9"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Gnu Privacy Assistant"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 +WEB_SITE="https://www.gnupg.org/related_software/gpa/"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://www.gnupg.org/"
    1.16 -WGET_URL="http://mirror.tje.me.uk/pub/mirrors/ftp.gnupg.org/gpa/$TARBALL"
    1.17 +WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpa/$TARBALL"
    1.18  
    1.19 -DEPENDS="gnupg gpgme libgpg-error gtk+ xorg-libXdamage pinentry-gtk"
    1.20 -BUILD_DEPENDS="gnupg autoconf automake gpgme-dev libgpg-error-dev \
    1.21 -libassuan-dev gtk+-dev"
    1.22 +DEPENDS="gpgme gtk+ pinentry-gtk"
    1.23 +BUILD_DEPENDS="gtk+-dev libgpg-error-dev libassuan-dev gpgme-dev"
    1.24 +SPLIT="gpa-langpack"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	patch -p0 < $stuff/gpa-0.9.0-libassuan2.patch &&
    1.30 -	autoreconf
    1.31 -	automake --add-missing &&
    1.32 +	# Integrity check: https://www.gnupg.org/download/integrity_check.html
    1.33 +	echo "1cf86c9e38aa553fdb880c55cbc6755901ad21a4  $SRC/$TARBALL" | sha1sum -c || exit 1
    1.34 +
    1.35  	./configure $CONFIGURE_ARGS && make && make install
    1.36 +
    1.37 +	find $install/usr/share/man -type f -exec gzip -9 \{\} \;
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr/share/locale
    1.44 -	
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 -	cp -a $install/usr/share/applications $fs/usr/share
    1.47 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.48 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    1.49 +	cp -a $install/* $fs
    1.50 +	rm -r $fs/usr/share/locale
    1.51  }
    1.52 -