wok-next diff libgpg-error/receipt @ rev 20335

Up openttd (1.7.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 16 18:27:48 2017 +0100 (2017-11-16)
parents 35a20e111081
children 2d54d154d5ca
line diff
     1.1 --- a/libgpg-error/receipt	Fri Feb 03 12:13:00 2017 +0200
     1.2 +++ b/libgpg-error/receipt	Thu Nov 16 18:27:48 2017 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libgpg-error"
     1.8 -VERSION="1.26"
     1.9 +VERSION="1.27"
    1.10  CATEGORY="security"
    1.11 -SHORT_DESC="Commons error messages for GnuPG."
    1.12 +SHORT_DESC="Commons error messages for GnuPG"
    1.13  MAINTAINER="erjo@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15  WEB_SITE="https://www.gnupg.org/related_software/libgpg-error/"
    1.16 @@ -11,21 +11,28 @@
    1.17  
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19  WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgpg-error/$TARBALL"
    1.20 +# https://www.gnupg.org/download/integrity_check.html
    1.21 +TARBALL_SHA1="a428758999ff573e62d06892e3d2c0b0f335787c"
    1.22  
    1.23  BUILD_DEPENDS="gettext"
    1.24 +SPLIT="libgpg-error-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	# Integrity check: https://www.gnupg.org/download/integrity_check.html
    1.30 -	echo "9a926e7ee6309e539313443555535d49a2a5c9f1  $SRC/$TARBALL" | sha1sum -c || exit 1
    1.31 -
    1.32 -	./configure $CONFIGURE_ARGS &&
    1.33 -	make && make DESTDIR=$DESTDIR install
    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 -	cook_copy_files gpg-error *.so*
    1.41 +	case $PACKAGE in
    1.42 +		libgpg-error)
    1.43 +			copy gpg-error *.so*
    1.44 +			;;
    1.45 +		*-dev)
    1.46 +			copy @std @dev
    1.47 +			remove_already_packed
    1.48 +			;;
    1.49 +	esac
    1.50  }