wok-6.x view mpfr/receipt @ rev 6875

Up: arora to 0.11.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 20 22:38:24 2010 +0000 (2010-10-20)
parents fdddd580f15d
children c4c3dd9c83ca
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="make gmp"
9 BUILD_DEPENDS="glibc-dev make gmp-dev gmp"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.mpfr.org/"
12 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -Np1 -i ../stuff/mpfr-3.0.0-p3.patch
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }