wok-next annotate mpfr/receipt @ rev 9740
mpfr bug update and fix dl
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 10 02:11:03 2011 +0200 (2011-05-10) |
parents | d1768332cee0 |
children | aef392b64b4a |
rev | line source |
---|---|
pankso@520 | 1 # SliTaz package receipt |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="mpfr" |
pankso@9740 | 4 VERSION="3.0.1" |
pankso@520 | 5 CATEGORY="development" |
pankso@520 | 6 SHORT_DESC="C library for multiple-precision floating-point computations." |
pankso@520 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@8201 | 8 DEPENDS="gmp" |
gokhlayeh@8201 | 9 BUILD_DEPENDS="gmp" |
pankso@520 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@520 | 11 WEB_SITE="http://www.mpfr.org/" |
pankso@520 | 12 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL" |
pankso@9740 | 13 #EXTRAVERSION="p8" |
pankso@520 | 14 |
pankso@520 | 15 # Rules to configure and make the package. |
pankso@520 | 16 compile_rules() |
pankso@520 | 17 { |
pankso@520 | 18 cd $src |
slaxemulator@9700 | 19 patch -Np1 -i $stuff/$PACKAGE-$VERSION-$EXTRAVERSION.patch |
pankso@9740 | 20 ./configure && make && make install |
pankso@520 | 21 } |
pankso@520 | 22 |
pankso@520 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@520 | 24 genpkg_rules() |
pankso@520 | 25 { |
pankso@520 | 26 mkdir -p $fs/usr/lib |
pankso@520 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@520 | 28 } |
pankso@520 | 29 |