wok-next annotate 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 |
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@19570 | 26 make && make html && make install && make install-html |
pankso@520 | 27 } |
pankso@520 | 28 |
al@20436 | 29 testsuite() { |
al@20436 | 30 case "$ARCH" in |
al@20436 | 31 arm*) ;; |
al@20436 | 32 *) make check;; |
al@20436 | 33 esac |
al@19570 | 34 } |
al@19743 | 35 |
al@20436 | 36 genpkg_rules() { |
al@19743 | 37 case $PACKAGE in |
al@20436 | 38 mpfr) |
al@20436 | 39 copy @std |
al@20436 | 40 DEPENDS="gmp" |
al@20436 | 41 TAGS="LFS" |
al@20436 | 42 ;; |
al@19743 | 43 *-dev) copy @dev;; |
al@19743 | 44 esac |
al@19743 | 45 } |