wok-next annotate mpc-library/receipt @ rev 21513
updated backintime (1.0.8 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 10:04:19 2020 +0100 (2020-06-19) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@19743 | 1 # SliTaz package receipt v2. |
pankso@5268 | 2 |
pankso@5268 | 3 PACKAGE="mpc-library" |
al@20905 | 4 VERSION="1.1.0" |
pankso@5268 | 5 CATEGORY="development" |
al@19743 | 6 SHORT_DESC="MPC library: complex numbers arithmetic" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL2" |
al@21041 | 9 WEB_SITE="http://www.multiprecision.org/mpc/" |
al@20905 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/mpc.html" |
al@20884 | 11 REPOLOGY="gnumpc" |
pankso@16319 | 12 |
al@19570 | 13 TARBALL="mpc-$VERSION.tar.gz" |
al@20905 | 14 WGET_URL="$GNU_MIRROR/mpc/$TARBALL" |
pankso@5268 | 15 |
al@19570 | 16 BUILD_DEPENDS="mpfr-dev gmp-dev texinfo" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
pankso@9749 | 18 |
al@20436 | 19 compile_rules() { |
al@19570 | 20 ./configure \ |
al@19570 | 21 --disable-static \ |
al@19570 | 22 $CONFIGURE_ARGS && |
al@20599 | 23 fix libtool && |
al@20599 | 24 make && |
al@20599 | 25 make html && |
al@20599 | 26 make install && |
al@20599 | 27 make install-html |
pankso@5268 | 28 } |
pankso@5268 | 29 |
al@20436 | 30 genpkg_rules() { |
al@19743 | 31 case $PACKAGE in |
al@19743 | 32 mpc-library) |
al@19743 | 33 copy @std |
al@19743 | 34 DEPENDS="mpfr gmp" |
al@20436 | 35 TAGS="LFS" |
al@19743 | 36 ;; |
al@19743 | 37 *-dev) |
al@19743 | 38 copy @dev |
al@19743 | 39 DEPENDS="mpc-library mpfr-dev gmp-dev" |
al@19743 | 40 ;; |
al@19743 | 41 esac |
pankso@5268 | 42 } |