wok-current annotate mpc-library/receipt @ rev 9752
mpc-library: revert update (sorry for that one)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 03:01:05 2011 +0200 (2011-05-11) |
parents | 37c3bd7f4b0b |
children | dd0e8a306fc7 |
rev | line source |
---|---|
pankso@5268 | 1 # SliTaz package receipt. |
pankso@5268 | 2 |
pankso@5268 | 3 PACKAGE="mpc-library" |
pankso@9752 | 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" |
pankso@5268 | 8 SOURCE="mpc" |
pankso@5268 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@5268 | 10 WEB_SITE="http://www.multiprecision.org/" |
pankso@5268 | 11 WGET_URL="http://www.multiprecision.org/mpc/download/$TARBALL" |
pankso@5268 | 12 |
pankso@9751 | 13 DEPENDS="mpfr gmp" |
pankso@9751 | 14 BUILD_DEPENDS="mpfr-dev gmp-dev" |
pankso@9749 | 15 |
pankso@5268 | 16 compile_rules() |
pankso@5268 | 17 { |
pankso@5268 | 18 cd $src |
pankso@9749 | 19 ./configure && make && make install |
pankso@5268 | 20 } |
pankso@5268 | 21 |
pankso@5268 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5268 | 23 genpkg_rules() |
pankso@5268 | 24 { |
pankso@5268 | 25 mkdir -p $fs/usr |
pankso@5268 | 26 cp -a $_pkg/usr/lib $fs/usr |
pankso@5268 | 27 cp -a $_pkg/usr/include $fs/usr |
pankso@5268 | 28 } |
pankso@5268 | 29 |