wok-next view mpfr/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
parents | 90a5eb560fd6 |
children | e7a485521d6a |
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 fix libtool &&
27 make &&
28 make html &&
29 make install &&
30 make install-html
31 }
33 testsuite() {
34 case "$ARCH" in
35 arm*) ;;
36 *) make check;;
37 esac
38 }
40 genpkg_rules() {
41 case $PACKAGE in
42 mpfr)
43 copy @std
44 DEPENDS="gmp"
45 TAGS="LFS"
46 ;;
47 *-dev) copy @dev;;
48 esac
49 }