wok-next diff mpfr/receipt @ rev 20446

pixman is obsolete -> xorg-pixman
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 13:29:20 2018 +0200 (2018-02-28)
parents 7387df590f12
children 556349764d57
line diff
     1.1 --- a/mpfr/receipt	Tue Jun 06 17:37:54 2017 +0300
     1.2 +++ b/mpfr/receipt	Wed Feb 28 13:29:20 2018 +0200
     1.3 @@ -7,7 +7,7 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="GPL3"
     1.6  WEB_SITE="http://www.mpfr.org/"
     1.7 -HOST_ARCH="i486 arm"
     1.8 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/mpfr.html"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.11  WGET_URL="http://www.mpfr.org/$PACKAGE-$VERSION/$TARBALL"
    1.12 @@ -15,30 +15,31 @@
    1.13  BUILD_DEPENDS="gmp-dev texinfo"
    1.14  SPLIT="mpfr-dev"
    1.15  
    1.16 +compile_rules() {
    1.17  #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
    1.18  #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23  	./configure \
    1.24  		--disable-static \
    1.25  		--enable-thread-safe \
    1.26 -		--docdir=/usr/share/doc/mpfr-$VERSION \
    1.27  		$CONFIGURE_ARGS &&
    1.28  	make && make html && make install && make install-html
    1.29  }
    1.30  
    1.31 -testsuite()
    1.32 -{
    1.33 -	case "$ARCH" in i?86) make check;; esac
    1.34 +testsuite() {
    1.35 +	case "$ARCH" in
    1.36 +		arm*) ;;
    1.37 +		*) make check;;
    1.38 +	esac
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 +genpkg_rules() {
    1.45  	case $PACKAGE in
    1.46 -		mpfr) copy @std; DEPENDS="gmp";;
    1.47 +		mpfr)
    1.48 +			copy @std
    1.49 +			DEPENDS="gmp"
    1.50 +			TAGS="LFS"
    1.51 +			;;
    1.52  		*-dev) copy @dev;;
    1.53  	esac
    1.54  }