wok-next annotate mpfr/receipt @ rev 20616

xrdp: up 0.9.3.1; zopfli: fix build; gcc61: attempt to fix; add gcc6 (latest among 6.x.x).
gcc61 and gcc6 are broken now.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 21 05:15:11 2018 +0300 (2018-04-21)
parents 90a5eb560fd6
children e7a485521d6a
rev   line source
al@19743 1 # SliTaz package receipt v2.
pankso@520 2
pankso@520 3 PACKAGE="mpfr"
al@19743 4 VERSION="3.1.5"
al@19743 5 CATEGORY="libdevel"
al@19743 6 SHORT_DESC="Multiple-precision floating-point computations"
pankso@520 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
pankso@520 9 WEB_SITE="http://www.mpfr.org/"
al@20436 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/mpfr.html"
pankso@9741 11
al@19570 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19570 13 WGET_URL="http://www.mpfr.org/$PACKAGE-$VERSION/$TARBALL"
al@19570 14
al@19570 15 BUILD_DEPENDS="gmp-dev texinfo"
al@19743 16 SPLIT="mpfr-dev"
pankso@520 17
al@20436 18 compile_rules() {
pankso@16319 19 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
pankso@16319 20 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
pankso@16319 21
al@19570 22 ./configure \
al@19570 23 --disable-static \
al@19570 24 --enable-thread-safe \
al@19570 25 $CONFIGURE_ARGS &&
al@20599 26 fix libtool &&
al@20599 27 make &&
al@20599 28 make html &&
al@20599 29 make install &&
al@20599 30 make install-html
pankso@520 31 }
pankso@520 32
al@20436 33 testsuite() {
al@20436 34 case "$ARCH" in
al@20436 35 arm*) ;;
al@20436 36 *) make check;;
al@20436 37 esac
al@19570 38 }
al@19743 39
al@20436 40 genpkg_rules() {
al@19743 41 case $PACKAGE in
al@20436 42 mpfr)
al@20436 43 copy @std
al@20436 44 DEPENDS="gmp"
al@20436 45 TAGS="LFS"
al@20436 46 ;;
al@19743 47 *-dev) copy @dev;;
al@19743 48 esac
al@19743 49 }