wok annotate mpfr/receipt @ rev 16289
Up: spk (1.3) Lots of improvents and fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 06 22:35:50 2014 +0200 (2014-04-06) |
parents | bdfc74b6f7b0 |
children | 3a1e8d25c320 |
rev | line source |
---|---|
pankso@520 | 1 # SliTaz package receipt |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="mpfr" |
pankso@12264 | 4 VERSION="3.1.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" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@520 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@520 | 10 WEB_SITE="http://www.mpfr.org/" |
pankso@520 | 11 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL" |
pankso@9741 | 12 |
pankso@9741 | 13 DEPENDS="gmp" |
pankso@9750 | 14 BUILD_DEPENDS="gmp-dev" |
pankso@520 | 15 |
pankso@520 | 16 # Rules to configure and make the package. |
pankso@520 | 17 compile_rules() |
pankso@520 | 18 { |
pankso@520 | 19 cd $src |
pankso@9750 | 20 patch -Np1 -i $stuff/$PACKAGE-$VERSION.patch |
pankso@10026 | 21 ./configure $CONFIGURE_ARGS && |
pankso@10026 | 22 make && 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@12264 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@520 | 30 } |