wok-6.x annotate mpc-library/receipt @ rev 19365
bwm-ng: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 03 14:21:25 2016 +0200 (2016-08-03) |
parents | 3a1e8d25c320 |
children | 81415da32329 |
rev | line source |
---|---|
pankso@5268 | 1 # SliTaz package receipt. |
pankso@5268 | 2 |
pankso@5268 | 3 PACKAGE="mpc-library" |
devl547@18348 | 4 VERSION="1.0.3" |
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 |
devl547@18348 | 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 |