wok-stable annotate mpc-library/receipt @ rev 8507
Up: tazchroot 0.0.5
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 02:55:23 2011 +0100 (2011-02-12) |
parents | f00e7ade0d04 |
children | cd5b5a4ce7a1 |
rev | line source |
---|---|
pankso@5268 | 1 # SliTaz package receipt. |
pankso@5268 | 2 |
pankso@5268 | 3 PACKAGE="mpc-library" |
pascal@6525 | 4 VERSION="0.8.2" |
pankso@5268 | 5 CATEGORY="development" |
pankso@5268 | 6 SHORT_DESC="MPC is a C library for the arithmetic of complex numbers." |
pankso@5268 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@7903 | 8 DEPENDS="mpfr" |
gokhlayeh@7903 | 9 BUILD_DEPENDS="mpfr" |
pankso@5268 | 10 SOURCE="mpc" |
pankso@5268 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@5268 | 12 WEB_SITE="http://www.multiprecision.org/" |
pankso@5268 | 13 WGET_URL="http://www.multiprecision.org/mpc/download/$TARBALL" |
pankso@5268 | 14 |
pankso@5268 | 15 compile_rules() |
pankso@5268 | 16 { |
pankso@5268 | 17 cd $src |
gokhlayeh@8200 | 18 ./configure && |
pankso@5268 | 19 make && |
gokhlayeh@8200 | 20 make install |
pankso@5268 | 21 } |
pankso@5268 | 22 |
pankso@5268 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5268 | 24 genpkg_rules() |
pankso@5268 | 25 { |
pankso@5268 | 26 mkdir -p $fs/usr |
pankso@5268 | 27 cp -a $_pkg/usr/lib $fs/usr |
pankso@5268 | 28 cp -a $_pkg/usr/include $fs/usr |
pankso@5268 | 29 } |
pankso@5268 | 30 |