wok-next annotate mpc-library/receipt @ rev 16137

ARM: try to cross compile GTK on Tank
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 26 00:28:42 2014 +0100 (2014-03-26)
parents 008bee487734
children 3a1e8d25c320
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@12271 13 BUGS="Shared libs dont build with 0.9"
pankso@5268 14
pankso@9751 15 DEPENDS="mpfr gmp"
pankso@9751 16 BUILD_DEPENDS="mpfr-dev gmp-dev"
pankso@9749 17
pankso@5268 18 compile_rules()
pankso@5268 19 {
pankso@5268 20 cd $src
pankso@12271 21 #patch -Np1 -i $stuff/libmpc-0.9-configure_cflags_egrep_issue.patch
pankso@10026 22 ./configure $CONFIGURE_ARGS && make && make install
pankso@5268 23 }
pankso@5268 24
pankso@5268 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5268 26 genpkg_rules()
pankso@5268 27 {
pankso@5268 28 mkdir -p $fs/usr
pankso@12270 29 cp -a $install/usr/lib $fs/usr
pankso@12270 30 cp -a $install/usr/include $fs/usr
pankso@5268 31 }
pankso@5268 32