wok-next diff mpfr/receipt @ rev 19616
Up elementary-icon-theme, faenza-icon-theme.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 04 16:26:28 2017 +0200 (2017-02-04) |
parents | dd1a1c7a653a |
children | 7387df590f12 |
line diff
1.1 --- a/mpfr/receipt Thu Jul 14 20:48:15 2016 +0000 1.2 +++ b/mpfr/receipt Sat Feb 04 16:26:28 2017 +0200 1.3 @@ -6,13 +6,14 @@ 1.4 SHORT_DESC="C library for multiple-precision floating-point computations." 1.5 MAINTAINER="pankso@slitaz.org" 1.6 LICENSE="GPL3" 1.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.8 WEB_SITE="http://www.mpfr.org/" 1.9 -WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL" 1.10 HOST_ARCH="i486 arm" 1.11 1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.13 +WGET_URL="http://www.mpfr.org/$PACKAGE-$VERSION/$TARBALL" 1.14 + 1.15 DEPENDS="gmp" 1.16 -BUILD_DEPENDS="gmp-dev" 1.17 +BUILD_DEPENDS="gmp-dev texinfo" 1.18 1.19 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib 1.20 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include 1.21 @@ -20,19 +21,14 @@ 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - patch -Np1 -i $stuff/mpfr-3.1.2-upstream_fixes-3.patch 1.26 - case "$ARCH" in 1.27 - i?86) 1.28 - ./configure \ 1.29 - --enable-thread-safe \ 1.30 - $CONFIGURE_ARGS && 1.31 - make && make check && make install ;; 1.32 - *) 1.33 - ./configure \ 1.34 - --enable-thread-safe \ 1.35 - $CONFIGURE_ARGS && 1.36 - make && make install ;; 1.37 - esac 1.38 +# patch -Np1 -i $stuff/mpfr-3.1.2-upstream_fixes-3.patch 1.39 + 1.40 + ./configure \ 1.41 + --disable-static \ 1.42 + --enable-thread-safe \ 1.43 + --docdir=/usr/share/doc/mpfr-$VERSION \ 1.44 + $CONFIGURE_ARGS && 1.45 + make && make html && make install && make install-html 1.46 } 1.47 1.48 # Rules to gen a SliTaz package suitable for Tazpkg. 1.49 @@ -40,3 +36,8 @@ 1.50 { 1.51 cook_copy_files *.so* 1.52 } 1.53 + 1.54 +testsuite() 1.55 +{ 1.56 + case "$ARCH" in i?86) make check;; esac 1.57 +}