wok-current view mpfr/receipt @ rev 11620
Up slitaz-boot-scripts (4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 24 11:48:19 2012 +0100 (2012-01-24) |
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 }