wok-next view mpc-library/receipt @ rev 19925
libftdi: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 14 23:27:36 2017 +0200 (2017-10-14) |
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 }