wok-6.x annotate mpc-library/receipt @ rev 7903
fix dep/bdep: mpc-library
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Jan 09 14:31:14 2011 +0100 (2011-01-09) |
parents | 617d180b0c1e |
children | f43b0c1cf3d6 |
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 |
pankso@5268 | 18 ./configure \ |
pankso@5268 | 19 --prefix=/usr \ |
pankso@5268 | 20 --infodir=/usr/share/info \ |
pankso@5268 | 21 --mandir=/usr/share/man \ |
pankso@5268 | 22 $CONFIGURE_ARGS && |
pankso@5268 | 23 make && |
pankso@5268 | 24 make DESTDIR=$PWD/_pkg install |
pankso@5268 | 25 } |
pankso@5268 | 26 |
pankso@5268 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5268 | 28 genpkg_rules() |
pankso@5268 | 29 { |
pankso@5268 | 30 mkdir -p $fs/usr |
pankso@5268 | 31 cp -a $_pkg/usr/lib $fs/usr |
pankso@5268 | 32 cp -a $_pkg/usr/include $fs/usr |
pankso@5268 | 33 } |
pankso@5268 | 34 |