wok-6.x view mpc-library/receipt @ rev 16066
ARM: missing liblzma-dev, add acl libzip
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 12 19:55:40 2014 +0100 (2014-03-12) |
parents | 008bee487734 |
children | 3a1e8d25c320 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mpc-library"
4 VERSION="0.8.2"
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 BUGS="Shared libs dont build with 0.9"
15 DEPENDS="mpfr gmp"
16 BUILD_DEPENDS="mpfr-dev gmp-dev"
18 compile_rules()
19 {
20 cd $src
21 #patch -Np1 -i $stuff/libmpc-0.9-configure_cflags_egrep_issue.patch
22 ./configure $CONFIGURE_ARGS && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 cp -a $install/usr/include $fs/usr
31 }