wok-next annotate mpfr4/receipt @ rev 20936
Update cmake
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 24 15:44:57 2018 +0300 (2018-08-24) |
parents | e7a485521d6a |
children | d5aab818505e |
rev | line source |
---|---|
al@20905 | 1 # SliTaz package receipt v2. |
al@20905 | 2 |
al@20905 | 3 PACKAGE="mpfr4" |
al@20905 | 4 LEGACY_OF="mpfr" |
al@20905 | 5 VERSION="3.1.5" |
al@20905 | 6 CATEGORY="libdevel" |
al@20905 | 7 SHORT_DESC="Multiple-precision floating-point computations" |
al@20905 | 8 MAINTAINER="pankso@slitaz.org" |
al@20905 | 9 LICENSE="GPL3" |
al@20906 | 10 WEB_SITE="https://www.mpfr.org/" |
al@20905 | 11 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/mpfr.html" |
al@20905 | 12 REPOLOGY="mpfr" |
al@20905 | 13 |
al@20905 | 14 TARBALL="mpfr-$VERSION.tar.xz" |
al@20905 | 15 WGET_URL="http://www.mpfr.org/mpfr-$VERSION/$TARBALL" |
al@20905 | 16 |
al@20905 | 17 BUILD_DEPENDS="gmp-dev texinfo" |
al@20905 | 18 |
al@20905 | 19 compile_rules() { |
al@20905 | 20 ./configure \ |
al@20905 | 21 --disable-static \ |
al@20905 | 22 --enable-thread-safe \ |
al@20905 | 23 $CONFIGURE_ARGS && |
al@20905 | 24 fix libtool && |
al@20905 | 25 make && |
al@20905 | 26 make html && |
al@20905 | 27 make install && |
al@20905 | 28 make install-html |
al@20905 | 29 } |
al@20905 | 30 |
al@20905 | 31 testsuite() { |
al@20905 | 32 case "$ARCH" in |
al@20905 | 33 arm*) ;; |
al@20905 | 34 *) make check;; |
al@20905 | 35 esac |
al@20905 | 36 } |
al@20905 | 37 |
al@20905 | 38 genpkg_rules() { |
al@20905 | 39 copy libmpfr.so.4* |
al@20905 | 40 DEPENDS="gmp" |
al@20905 | 41 TAGS="LFS" |
al@20905 | 42 } |