wok annotate mpfr/receipt @ rev 14351
linux: add EXTRA_SOURCE_FILES
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 15 11:49:30 2013 +0200 (2013-04-15) |
parents | dd0e8a306fc7 |
children | 2b9f96603415 |
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" |
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@12264 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@520 | 29 } |