wok-next diff gpgme/receipt @ rev 20299

Up remmina (1.2.0-rcgit.24)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 09 22:26:00 2017 +0100 (2017-11-09)
parents ac006a7bf27c
children d3444352a0af
line diff
     1.1 --- a/gpgme/receipt	Thu Jun 23 01:40:19 2016 +0300
     1.2 +++ b/gpgme/receipt	Thu Nov 09 22:26:00 2017 +0100
     1.3 @@ -1,31 +1,36 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gpgme"
     1.8 -VERSION="1.6.0"
     1.9 +VERSION="1.9.0"
    1.10  CATEGORY="security"
    1.11 -SHORT_DESC="C language library that allows to add support for cryptography to a program."
    1.12 +SHORT_DESC="Support for cryptography"
    1.13  MAINTAINER="erjo@slitaz.org"
    1.14  LICENSE="GPL2 LGPL2.1"
    1.15  WEB_SITE="https://www.gnupg.org/related_software/gpgme/"
    1.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/gpgme.html"
    1.17 +
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19  WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpgme/$TARBALL"
    1.20 +# Integrity check: https://www.gnupg.org/download/integrity_check.html
    1.21 +TARBALL_SHA1="870719cd3d2ef6a7fcb1d6af9ce5446edba7bfc3"
    1.22  
    1.23 -DEPENDS="libassuan"
    1.24  BUILD_DEPENDS="libgpg-error-dev libassuan-dev"
    1.25 +SPLIT="gpgme-dev"
    1.26  
    1.27 -# Rules to configure and make the package.
    1.28 -compile_rules()
    1.29 -{
    1.30 -	# Integrity check: https://www.gnupg.org/download/integrity_check.html
    1.31 -	echo "21510323495f6220f8f67610c3c27a23d761d43d  $SRC/$TARBALL" | sha1sum -c || exit 1
    1.32 -
    1.33 +compile_rules() {
    1.34  	./configure $CONFIGURE_ARGS && make && make install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	mkdir -p $fs/usr/bin $fs/usr/lib
    1.41 -	cp -a $install/usr/bin/gpgme-tool $fs/usr/bin
    1.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.43 +genpkg_rules() {
    1.44 +	case $PACKAGE in
    1.45 +		gpgme)
    1.46 +			copy @std
    1.47 +			rm -r $fs/usr/share
    1.48 +			DEPENDS="libassuan libgpg-error"
    1.49 +			;;
    1.50 +		*-dev)
    1.51 +			copy @dev common-lisp/
    1.52 +			DEPENDS="gpgme libassuan-dev libgpg-error-dev"
    1.53 +			;;
    1.54 +	esac
    1.55  }