wok-6.x annotate mpfr/receipt @ rev 10316
eet: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 23:53:33 2011 +0000 (2011-05-21) |
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 } |