wok-current annotate mpc-library/receipt @ rev 17675
nmon: keep source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 18 11:21:08 2015 +0100 (2015-02-18) |
parents | bb009a6ef036 |
children | 57f304bdc541 |
rev | line source |
---|---|
pankso@5268 | 1 # SliTaz package receipt. |
pankso@5268 | 2 |
pankso@5268 | 3 PACKAGE="mpc-library" |
pankso@12271 | 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" |
pascal@15583 | 8 LICENSE="GPL2" |
pankso@5268 | 9 SOURCE="mpc" |
pankso@5268 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@5268 | 11 WEB_SITE="http://www.multiprecision.org/" |
pankso@5268 | 12 WGET_URL="http://www.multiprecision.org/mpc/download/$TARBALL" |
pankso@16319 | 13 HOST_ARCH="i486 arm" |
pankso@16319 | 14 |
pankso@12271 | 15 BUGS="Shared libs dont build with 0.9" |
pankso@5268 | 16 |
pankso@9751 | 17 DEPENDS="mpfr gmp" |
pankso@9751 | 18 BUILD_DEPENDS="mpfr-dev gmp-dev" |
pankso@9749 | 19 |
pankso@5268 | 20 compile_rules() |
pankso@5268 | 21 { |
pankso@12271 | 22 #patch -Np1 -i $stuff/libmpc-0.9-configure_cflags_egrep_issue.patch |
pankso@10026 | 23 ./configure $CONFIGURE_ARGS && make && make install |
pankso@5268 | 24 } |
pankso@5268 | 25 |
pankso@5268 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5268 | 27 genpkg_rules() |
pankso@5268 | 28 { |
pankso@5268 | 29 mkdir -p $fs/usr |
pankso@12270 | 30 cp -a $install/usr/lib $fs/usr |
pankso@12270 | 31 cp -a $install/usr/include $fs/usr |
pankso@5268 | 32 } |
pankso@5268 | 33 |