wok view mpc-library/receipt @ rev 15164

Up xorg-xf86-input-void (1.4.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 18:48:58 2013 +0000 (2013-08-15)
parents 475688256701
children bb009a6ef036
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 SOURCE="mpc"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.multiprecision.org/"
11 WGET_URL="http://www.multiprecision.org/mpc/download/$TARBALL"
12 BUGS="Shared libs dont build with 0.9"
14 DEPENDS="mpfr gmp"
15 BUILD_DEPENDS="mpfr-dev gmp-dev"
17 compile_rules()
18 {
19 cd $src
20 #patch -Np1 -i $stuff/libmpc-0.9-configure_cflags_egrep_issue.patch
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 cp -a $install/usr/include $fs/usr
30 }