# HG changeset patch # User Hans-G?nter Theisgen # Date 1593449330 -3600 # Node ID b916a2fbb9f03c5ba9f4c47800d7963767d614f5 # Parent ae2e03ed6aa3a38d27859ba80c0fd317f4e2c600 updated gmp (6.1.2 -> 6.2.0) diff -r ae2e03ed6aa3 -r b916a2fbb9f0 gmp/receipt --- a/gmp/receipt Mon Jun 29 17:42:14 2020 +0100 +++ b/gmp/receipt Mon Jun 29 17:48:50 2020 +0100 @@ -1,10 +1,10 @@ # SliTaz package receipt v2. PACKAGE="gmp" -VERSION="6.1.2" +VERSION="6.2.0" CATEGORY="libdevel" SHORT_DESC="GNU Multiple Precision Arithmetic Library" -MAINTAINER="devel@slitaz.org" +MAINTAINER="maintainer@slitaz.org" LICENSE="GPL3" WEB_SITE="https://gmplib.org/" LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gmp.html" @@ -17,14 +17,15 @@ BUILD_DEPENDS="binutils m4 ncurses-dev readline-dev texinfo" SPLIT="$PACKAGE-dev" -compile_rules() { +compile_rules() +{ # Create generic libraries - cp -v configfsf.guess config.guess - cp -v configfsf.sub config.sub + cp -v configfsf.guess config.guess + cp -v configfsf.sub config.sub - ./configure \ - --enable-cxx \ - --disable-static \ + ./configure \ + --enable-cxx \ + --disable-static \ $CONFIGURE_ARGS && fix libtool && # -j > 1 make install fails. @@ -34,7 +35,8 @@ make install-html } -testsuite() { +testsuite() +{ checklog=$(mktemp) make check 2>&1 | tee $checklog pass=$(awk '/# PASS:/{total+=$3}; END{print total}' $checklog) @@ -42,7 +44,8 @@ rm $checklog } -genpkg_rules() { +genpkg_rules() +{ case $PACKAGE in gmp) copy @std