wok-6.x view mpfr/receipt @ rev 19397
Up brotli (0.5.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 13:32:28 2016 +0200 (2016-09-02) |
parents | 6e41896cc317 |
children | 0087cee9d16e |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.mpfr.org/"
11 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="gmp"
15 BUILD_DEPENDS="gmp-dev"
17 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
18 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 patch -Np1 -i $stuff/mpfr-3.1.2-upstream_fixes-3.patch
24 case "$ARCH" in
25 i?86)
26 ./configure \
27 --enable-thread-safe \
28 $CONFIGURE_ARGS &&
29 make && make check && make install ;;
30 *)
31 ./configure \
32 --enable-thread-safe \
33 $CONFIGURE_ARGS &&
34 make && make install ;;
35 esac
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_files *.so*
42 }