wok view mpfr/receipt @ rev 17504

le: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 08 11:25:22 2015 +0100 (2015-01-08)
parents 2b9f96603415
children 63c5da92bdb1
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="3.1.2"
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 ./configure \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }