wok annotate mpfr/receipt @ rev 12247
Up: tazusb (4.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 09 18:36:16 2012 +0200 (2012-04-09) |
parents | c0a1b4813965 |
children | bdfc74b6f7b0 |
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" |
pankso@520 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@520 | 9 WEB_SITE="http://www.mpfr.org/" |
pankso@520 | 10 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL" |
pankso@9741 | 11 |
pankso@9741 | 12 DEPENDS="gmp" |
pankso@9750 | 13 BUILD_DEPENDS="gmp-dev" |
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 |
pankso@9750 | 19 patch -Np1 -i $stuff/$PACKAGE-$VERSION.patch |
pankso@10026 | 20 ./configure $CONFIGURE_ARGS && |
pankso@10026 | 21 make && make install |
pankso@520 | 22 } |
pankso@520 | 23 |
pankso@520 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@520 | 25 genpkg_rules() |
pankso@520 | 26 { |
pankso@520 | 27 mkdir -p $fs/usr/lib |
pankso@520 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@520 | 29 } |