wok-next view mpfr/receipt @ rev 16128
atk-dev avoid any error when cross compiling
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 25 17:10:50 2014 +0100 (2014-03-25) |
parents | bdfc74b6f7b0 |
children | 3a1e8d25c320 |
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="3.1.0"
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"
13 DEPENDS="gmp"
14 BUILD_DEPENDS="gmp-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/$PACKAGE-$VERSION.patch
21 ./configure $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }