wok view mpfr/receipt @ rev 9111

podofo: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 10:35:18 2011 +0100 (2011-03-05)
parents 30f061368a04
children d1768332cee0
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="3.0.0"
5 CATEGORY="development"
6 SHORT_DESC="C library for multiple-precision floating-point computations."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gmp"
9 BUILD_DEPENDS="gmp"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.mpfr.org/"
12 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
13 EXTRAVERSION="p8"
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 &&
21 make &&
22 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 $_pkg/usr/lib/*.so* $fs/usr/lib
30 }