wok-next diff gmp/receipt @ rev 20097

Update some bdeps.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 29 01:19:50 2017 +0300 (2017-10-29)
parents 10e3347b5a0d
children c78b38baa3f0
line diff
     1.1 --- a/gmp/receipt	Thu Dec 22 07:11:01 2016 +0200
     1.2 +++ b/gmp/receipt	Sun Oct 29 01:19:50 2017 +0300
     1.3 @@ -1,9 +1,9 @@
     1.4 -# SliTaz package receipt
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gmp"
     1.8 -VERSION="6.1.1"
     1.9 -CATEGORY="development"
    1.10 -SHORT_DESC="GNU Multiple Precision Arithmetic Library."
    1.11 +VERSION="6.1.2"
    1.12 +CATEGORY="libdevel"
    1.13 +SHORT_DESC="GNU Multiple Precision Arithmetic Library"
    1.14  MAINTAINER="pankso@slitaz.org"
    1.15  LICENSE="GPL3"
    1.16  WEB_SITE="https://gmplib.org/"
    1.17 @@ -13,6 +13,7 @@
    1.18  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="binutils m4 ncurses-dev readline-dev texinfo"
    1.21 +SPLIT="gmp-dev"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25 @@ -26,12 +27,6 @@
    1.26  	make && make html && make install && make install-html
    1.27  }
    1.28  
    1.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 -genpkg_rules()
    1.31 -{
    1.32 -	cook_copy_files *.so*
    1.33 -}
    1.34 -
    1.35  testsuite()
    1.36  {
    1.37  	checklog=$(mktemp)
    1.38 @@ -40,3 +35,12 @@
    1.39  	echo "$pass / 190 tests passed"
    1.40  	rm $checklog
    1.41  }
    1.42 +
    1.43 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 +genpkg_rules()
    1.45 +{
    1.46 +	case $PACKAGE in
    1.47 +		gmp)   copy @std;;
    1.48 +		*-dev) copy @dev;;
    1.49 +	esac
    1.50 +}