wok annotate mpfr/receipt @ rev 8221
imported patch cleanup_inprogress/slitaz-i18n.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | 30f061368a04 |
children | d1768332cee0 |
rev | line source |
---|---|
pankso@520 | 1 # SliTaz package receipt |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="mpfr" |
slaxemulator@6517 | 4 VERSION="3.0.0" |
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" |
slaxemulator@7497 | 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@7497 | 19 patch -Np1 -i ../stuff/$PACKAGE-$VERSION-$EXTRAVERSION.patch |
gokhlayeh@8201 | 20 ./configure && |
pascal@1473 | 21 make && |
gokhlayeh@8201 | 22 make install |
pankso@520 | 23 } |
pankso@520 | 24 |
pankso@520 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@520 | 26 genpkg_rules() |
pankso@520 | 27 { |
pankso@520 | 28 mkdir -p $fs/usr/lib |
pankso@520 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@520 | 30 } |
pankso@520 | 31 |