wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mpfr"
4 VERSION="3.1.5"
5 CATEGORY="libdevel"
6 SHORT_DESC="Multiple-precision floating-point computations"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.mpfr.org/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/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"
16 SPLIT="mpfr-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 make && make html && make install && make install-html
27 }
29 testsuite() {
30 case "$ARCH" in
31 arm*) ;;
32 *) make check;;
33 esac
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 mpfr)
39 copy @std
40 DEPENDS="gmp"
41 TAGS="LFS"
42 ;;
43 *-dev) copy @dev;;
44 esac
45 }