wok-next view mpc-library/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | 10e3347b5a0d |
children | 90a5eb560fd6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mpc-library"
4 VERSION="1.0.3"
5 CATEGORY="development"
6 SHORT_DESC="MPC library: complex numbers arithmetic"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.multiprecision.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="mpc-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}mpc/download/$TARBALL"
15 BUILD_DEPENDS="mpfr-dev gmp-dev texinfo"
16 SPLIT="mpc-library-dev"
18 compile_rules()
19 {
20 ./configure \
21 --disable-static \
22 --docdir=/usr/share/doc/mpc-$VERSION \
23 $CONFIGURE_ARGS &&
24 make && make html && make install && make install-html
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 mpc-library)
32 copy @std
33 DEPENDS="mpfr gmp"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="mpc-library mpfr-dev gmp-dev"
38 ;;
39 esac
40 }