wok-current annotate mpfr/receipt @ rev 9700
Replaced all ../stuff with $stuff.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 08 09:01:58 2011 +0000 (2011-05-08) |
parents | 67cfa870f4e3 |
children | 6026f6c50111 |
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@9700 | 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 |