wok-next view mpc-library/receipt @ rev 21567

updated cppunit (1.14.0 -> 1.15.1)
author Hans-G?nter Theisgen
date Mon Jun 22 16:07:43 2020 +0100 (2020-06-22)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mpc-library"
4 VERSION="1.1.0"
5 CATEGORY="development"
6 SHORT_DESC="MPC library: complex numbers arithmetic"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.multiprecision.org/mpc/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/mpc.html"
11 REPOLOGY="gnumpc"
13 TARBALL="mpc-$VERSION.tar.gz"
14 WGET_URL="$GNU_MIRROR/mpc/$TARBALL"
16 BUILD_DEPENDS="mpfr-dev gmp-dev texinfo"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make html &&
26 make install &&
27 make install-html
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 mpc-library)
33 copy @std
34 DEPENDS="mpfr gmp"
35 TAGS="LFS"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="mpc-library mpfr-dev gmp-dev"
40 ;;
41 esac
42 }