wok-next view mpfr/receipt @ rev 19710
Up perl-html-tree (avoid dependency loop)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 11 04:40:46 2017 +0300 (2017-05-11) |
parents | dd1a1c7a653a |
children | 7387df590f12 |
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="3.1.4"
5 CATEGORY="development"
6 SHORT_DESC="C library for multiple-precision floating-point computations."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.mpfr.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://www.mpfr.org/$PACKAGE-$VERSION/$TARBALL"
15 DEPENDS="gmp"
16 BUILD_DEPENDS="gmp-dev texinfo"
18 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
19 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # patch -Np1 -i $stuff/mpfr-3.1.2-upstream_fixes-3.patch
26 ./configure \
27 --disable-static \
28 --enable-thread-safe \
29 --docdir=/usr/share/doc/mpfr-$VERSION \
30 $CONFIGURE_ARGS &&
31 make && make html && make install && make install-html
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files *.so*
38 }
40 testsuite()
41 {
42 case "$ARCH" in i?86) make check;; esac
43 }