wok-current view mpfr/receipt @ rev 21159
Up vcdimager (2.0.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 31 13:48:00 2019 +0200 (2019-03-31) |
parents | 0087cee9d16e |
children | 3f576c26c703 |
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="3.1.5"
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="https://www.mpfr.org/"
11 WGET_URL="https://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 case "$ARCH" in
24 i?86)
25 ./configure \
26 --enable-thread-safe \
27 $CONFIGURE_ARGS &&
28 make && make check && make install ;;
29 *)
30 ./configure \
31 --enable-thread-safe \
32 $CONFIGURE_ARGS &&
33 make && make install ;;
34 esac
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_files *.so*
41 }