wok-next annotate mpfr/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a3c581bf52b8 |
children |
rev | line source |
---|---|
al@19743 | 1 # SliTaz package receipt v2. |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="mpfr" |
al@20905 | 4 VERSION="4.0.1" |
al@19743 | 5 CATEGORY="libdevel" |
al@19743 | 6 SHORT_DESC="Multiple-precision floating-point computations" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@20906 | 9 WEB_SITE="https://www.mpfr.org/" |
al@20905 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/svn/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@20905 | 15 BUILD_DEPENDS="gmp-dev texinfo gcc-lib-math" |
al@21020 | 16 SPLIT="$PACKAGE-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@21020 | 34 make check |
al@19570 | 35 } |
al@19743 | 36 |
al@20436 | 37 genpkg_rules() { |
al@19743 | 38 case $PACKAGE in |
al@20436 | 39 mpfr) |
al@20436 | 40 copy @std |
al@20436 | 41 DEPENDS="gmp" |
al@20436 | 42 TAGS="LFS" |
al@20436 | 43 ;; |
al@19743 | 44 *-dev) copy @dev;; |
al@19743 | 45 esac |
al@19743 | 46 } |