wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mpfr"
4 VERSION="4.0.1"
5 CATEGORY="libdevel"
6 SHORT_DESC="Multiple-precision floating-point computations"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.mpfr.org/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/svn/chapter06/mpfr.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://www.mpfr.org/$PACKAGE-$VERSION/$TARBALL"
15 BUILD_DEPENDS="gmp-dev texinfo gcc-lib-math"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
20 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
22 ./configure \
23 --disable-static \
24 --enable-thread-safe \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make html &&
29 make install &&
30 make install-html
31 }
33 testsuite() {
34 make check
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 mpfr)
40 copy @std
41 DEPENDS="gmp"
42 TAGS="LFS"
43 ;;
44 *-dev) copy @dev;;
45 esac
46 }