wok-next annotate mpc-library/receipt @ rev 20427
Up cookutils (1024), tazpkg (957)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 12:19:58 2018 +0200 (2018-01-24) |
parents | 10e3347b5a0d |
children | 90a5eb560fd6 |
rev | line source |
---|---|
al@19743 | 1 # SliTaz package receipt v2. |
pankso@5268 | 2 |
pankso@5268 | 3 PACKAGE="mpc-library" |
devl547@18348 | 4 VERSION="1.0.3" |
pankso@5268 | 5 CATEGORY="development" |
al@19743 | 6 SHORT_DESC="MPC library: complex numbers arithmetic" |
pankso@5268 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL2" |
pankso@5268 | 9 WEB_SITE="http://www.multiprecision.org/" |
pankso@16319 | 10 HOST_ARCH="i486 arm" |
pankso@16319 | 11 |
al@19570 | 12 TARBALL="mpc-$VERSION.tar.gz" |
al@19570 | 13 WGET_URL="${WEB_SITE}mpc/download/$TARBALL" |
pankso@5268 | 14 |
al@19570 | 15 BUILD_DEPENDS="mpfr-dev gmp-dev texinfo" |
al@19743 | 16 SPLIT="mpc-library-dev" |
pankso@9749 | 17 |
pankso@5268 | 18 compile_rules() |
pankso@5268 | 19 { |
al@19570 | 20 ./configure \ |
al@19570 | 21 --disable-static \ |
al@19570 | 22 --docdir=/usr/share/doc/mpc-$VERSION \ |
al@19570 | 23 $CONFIGURE_ARGS && |
al@19570 | 24 make && make html && make install && make install-html |
pankso@5268 | 25 } |
pankso@5268 | 26 |
pankso@5268 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5268 | 28 genpkg_rules() |
pankso@5268 | 29 { |
al@19743 | 30 case $PACKAGE in |
al@19743 | 31 mpc-library) |
al@19743 | 32 copy @std |
al@19743 | 33 DEPENDS="mpfr gmp" |
al@19743 | 34 ;; |
al@19743 | 35 *-dev) |
al@19743 | 36 copy @dev |
al@19743 | 37 DEPENDS="mpc-library mpfr-dev gmp-dev" |
al@19743 | 38 ;; |
al@19743 | 39 esac |
pankso@5268 | 40 } |