wok-next annotate mpfr/receipt @ rev 21687

updated glpi (0.80.7 -> 9.4.6)
author Hans-G?nter Theisgen
date Mon Jun 29 17:11:21 2020 +0100 (2020-06-29)
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 }