wok-next view mpfr/receipt @ rev 19392
Up vmtouch (1.1.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Aug 27 20:53:04 2016 +0100 (2016-08-27) |
parents | 6e41896cc317 |
children | 10e3347b5a0d |
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 }