wok-next annotate mpfr/receipt @ rev 19867
Up mplayer-cli (1.3.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Sep 27 16:49:12 2017 +0200 (2017-09-27) |
parents | 10e3347b5a0d |
children | 90a5eb560fd6 |
rev | line source |
---|---|
al@19743 | 1 # SliTaz package receipt v2. |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="mpfr" |
al@19743 | 4 VERSION="3.1.5" |
al@19743 | 5 CATEGORY="libdevel" |
al@19743 | 6 SHORT_DESC="Multiple-precision floating-point computations" |
pankso@520 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@520 | 9 WEB_SITE="http://www.mpfr.org/" |
pankso@16319 | 10 HOST_ARCH="i486 arm" |
pankso@9741 | 11 |
al@19570 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19570 | 13 WGET_URL="http://www.mpfr.org/$PACKAGE-$VERSION/$TARBALL" |
al@19570 | 14 |
al@19570 | 15 BUILD_DEPENDS="gmp-dev texinfo" |
al@19743 | 16 SPLIT="mpfr-dev" |
pankso@520 | 17 |
pankso@16319 | 18 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib |
pankso@16319 | 19 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include |
pankso@16319 | 20 |
pankso@520 | 21 # Rules to configure and make the package. |
pankso@520 | 22 compile_rules() |
pankso@16319 | 23 { |
al@19570 | 24 ./configure \ |
al@19570 | 25 --disable-static \ |
al@19570 | 26 --enable-thread-safe \ |
al@19570 | 27 --docdir=/usr/share/doc/mpfr-$VERSION \ |
al@19570 | 28 $CONFIGURE_ARGS && |
al@19570 | 29 make && make html && make install && make install-html |
pankso@520 | 30 } |
pankso@520 | 31 |
al@19570 | 32 testsuite() |
al@19570 | 33 { |
al@19570 | 34 case "$ARCH" in i?86) make check;; esac |
al@19570 | 35 } |
al@19743 | 36 |
al@19743 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19743 | 38 genpkg_rules() |
al@19743 | 39 { |
al@19743 | 40 case $PACKAGE in |
al@19743 | 41 mpfr) copy @std; DEPENDS="gmp";; |
al@19743 | 42 *-dev) copy @dev;; |
al@19743 | 43 esac |
al@19743 | 44 } |