wok-next view mpfr/receipt @ rev 10762

jstetris: mkdir $src
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 31 12:15:24 2011 +0200 (2011-05-31)
parents c0a1b4813965
children bdfc74b6f7b0
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="gmp-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 -i $stuff/$PACKAGE-$VERSION.patch
20 ./configure $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }