wok-next view mpc-library/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | e7a485521d6a |
children | d457c4e37c1b |
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/"
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 }