wok-next diff gmp/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 e19ff076dc63
children
line diff
     1.1 --- a/gmp/receipt	Mon Dec 31 17:23:40 2018 +0200
     1.2 +++ b/gmp/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,10 +1,10 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="gmp"
     1.7 -VERSION="6.1.2"
     1.8 +VERSION="6.2.0"
     1.9  CATEGORY="libdevel"
    1.10  SHORT_DESC="GNU Multiple Precision Arithmetic Library"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14  WEB_SITE="https://gmplib.org/"
    1.15  LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gmp.html"
    1.16 @@ -17,14 +17,15 @@
    1.17  BUILD_DEPENDS="binutils m4 ncurses-dev readline-dev texinfo"
    1.18  SPLIT="$PACKAGE-dev"
    1.19  
    1.20 -compile_rules() {
    1.21 +compile_rules()
    1.22 +{
    1.23  	# Create generic libraries
    1.24 -	cp -v configfsf.guess config.guess
    1.25 -	cp -v configfsf.sub   config.sub
    1.26 +	cp -v configfsf.guess	config.guess
    1.27 +	cp -v configfsf.sub	config.sub
    1.28  
    1.29 -	./configure \
    1.30 -		--enable-cxx \
    1.31 -		--disable-static \
    1.32 +	./configure			\
    1.33 +		--enable-cxx		\
    1.34 +		--disable-static	\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	fix libtool &&
    1.37  	# -j > 1 make install fails.
    1.38 @@ -34,7 +35,8 @@
    1.39  	make install-html
    1.40  }
    1.41  
    1.42 -testsuite() {
    1.43 +testsuite()
    1.44 +{
    1.45  	checklog=$(mktemp)
    1.46  	make check 2>&1 | tee $checklog
    1.47  	pass=$(awk '/# PASS:/{total+=$3}; END{print total}' $checklog)
    1.48 @@ -42,7 +44,8 @@
    1.49  	rm $checklog
    1.50  }
    1.51  
    1.52 -genpkg_rules() {
    1.53 +genpkg_rules()
    1.54 +{
    1.55  	case $PACKAGE in
    1.56  		gmp)
    1.57  			copy @std