wok-next view mpc-library/receipt @ rev 20905
Update packages from ISO and LFS backages (all but toolchain)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 07 00:30:45 2018 +0300 (2018-08-07) |
parents | 4e6503d7a19f |
children | d5aab818505e |
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="pankso@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="mpc-library-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 }