wok-next diff gmp/receipt @ rev 20526
Up mtpaint (3.49.13)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 17:51:29 2018 +0200 (2018-03-23) |
parents | 12ed7c1691a4 |
children | a5d7827e08cf |
line diff
1.1 --- a/gmp/receipt Thu Nov 02 18:48:36 2017 +0100 1.2 +++ b/gmp/receipt Fri Mar 23 17:51:29 2018 +0200 1.3 @@ -7,7 +7,7 @@ 1.4 MAINTAINER="pankso@slitaz.org" 1.5 LICENSE="GPL3" 1.6 WEB_SITE="https://gmplib.org/" 1.7 -HOST_ARCH="i486 arm" 1.8 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gmp.html" 1.9 1.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.12 @@ -15,20 +15,20 @@ 1.13 BUILD_DEPENDS="binutils m4 ncurses-dev readline-dev texinfo" 1.14 SPLIT="gmp gmp-dev" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 +compile_rules() { 1.20 + # Create generic libraries 1.21 + cp -v configfsf.guess config.guess 1.22 + cp -v configfsf.sub config.sub 1.23 + 1.24 ./configure \ 1.25 --enable-cxx \ 1.26 --disable-static \ 1.27 - --docdir=/usr/share/doc/gmp-$VERSION \ 1.28 $CONFIGURE_ARGS && 1.29 # -j > 1 make install fails. 1.30 make && make html && make install && make install-html 1.31 } 1.32 1.33 -testsuite() 1.34 -{ 1.35 +testsuite() { 1.36 checklog=$(mktemp) 1.37 make check 2>&1 | tee $checklog 1.38 pass=$(awk '/# PASS:/{total+=$3} ; END{print total}' $checklog) 1.39 @@ -36,11 +36,12 @@ 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 +genpkg_rules() { 1.47 case $PACKAGE in 1.48 - gmp) copy @std;; 1.49 + gmp) 1.50 + copy @std 1.51 + TAGS="LFS" 1.52 + ;; 1.53 *-dev) copy @dev;; 1.54 esac 1.55 }