wok-next view mpc-library/receipt @ rev 19356
Up ranger (1.7.2)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Jul 26 19:09:36 2016 +0100 (2016-07-26) |
parents | 3a1e8d25c320 |
children | 10e3347b5a0d |
line source
1 # SliTaz package receipt.
3 PACKAGE="mpc-library"
4 VERSION="1.0.3"
5 CATEGORY="development"
6 SHORT_DESC="MPC is a C library for the arithmetic of complex numbers."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="mpc"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.multiprecision.org/"
12 WGET_URL="http://www.multiprecision.org/mpc/download/$TARBALL"
13 HOST_ARCH="i486 arm"
15 #BUGS="Shared libs dont build with 0.9"
17 DEPENDS="mpfr gmp"
18 BUILD_DEPENDS="mpfr-dev gmp-dev"
20 compile_rules()
21 {
22 #patch -Np1 -i $stuff/libmpc-0.9-configure_cflags_egrep_issue.patch
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 cp -a $install/usr/include $fs/usr
32 }