wok-next view mpc-library/receipt @ rev 20553
Up cookutils (1045), tazpkg (963)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 13:36:51 2018 +0300 (2018-04-06) |
parents | 7387df590f12 |
children | 556349764d57 |
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 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/mpc.html"
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 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 make && make html && make install && make install-html
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 mpc-library)
28 copy @std
29 DEPENDS="mpfr gmp"
30 TAGS="LFS"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="mpc-library mpfr-dev gmp-dev"
35 ;;
36 esac
37 }