wok view mpfr/receipt @ rev 9741

Fix mpfr BUILD_DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 10 02:12:56 2011 +0200 (2011-05-10)
parents 6026f6c50111
children c0a1b4813965
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="3.0.1"
5 CATEGORY="development"
6 SHORT_DESC="C library for multiple-precision floating-point computations."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.mpfr.org/"
10 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
12 DEPENDS="gmp"
13 BUILD_DEPENDS="$DEPENDS gmp-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 -i $stuff/$PACKAGE-$VERSION-$EXTRAVERSION.patch
20 ./configure && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 }