wok annotate mpfr/receipt @ rev 23501
updated python-jinja2 (2.7 -> 2.11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 07:57:27 2020 +0100 (2020-04-06) |
parents | 6e8b1bcb30e2 |
children | 2a0479881723 |
rev | line source |
---|---|
pankso@520 | 1 # SliTaz package receipt |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="mpfr" |
Hans-G?nter@21483 | 4 VERSION="4.0.2" |
pankso@520 | 5 CATEGORY="development" |
pankso@520 | 6 SHORT_DESC="C library for multiple-precision floating-point computations." |
pankso@520 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@20671 | 9 WEB_SITE="https://www.mpfr.org/" |
Hans-G?nter@21483 | 10 |
Hans-G?nter@21483 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@21483 | 12 WGET_URL="${WEB_SITE}$PACKAGE-$VERSION/$TARBALL" |
pankso@9741 | 13 |
pankso@9741 | 14 DEPENDS="gmp" |
pankso@9750 | 15 BUILD_DEPENDS="gmp-dev" |
pankso@520 | 16 |
Hans-G?nter@21483 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@21483 | 18 |
pankso@16319 | 19 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib |
pankso@16319 | 20 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include |
pankso@16319 | 21 |
pankso@520 | 22 # Rules to configure and make the package. |
pankso@520 | 23 compile_rules() |
pankso@16319 | 24 { |
pascal@19096 | 25 case "$ARCH" in |
pascal@19096 | 26 i?86) |
Hans-G?nter@21483 | 27 ./configure \ |
Hans-G?nter@21483 | 28 --enable-thread-safe \ |
pascal@19096 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@21483 | 30 make && |
Hans-G?nter@21483 | 31 make check && |
Hans-G?nter@21483 | 32 make install ;; |
pascal@19096 | 33 *) |
Hans-G?nter@21483 | 34 ./configure \ |
Hans-G?nter@21483 | 35 --enable-thread-safe \ |
pascal@19096 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@21483 | 37 make && |
Hans-G?nter@21483 | 38 make install ;; |
pascal@19096 | 39 esac |
pankso@520 | 40 } |
pankso@520 | 41 |
pankso@520 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@520 | 43 genpkg_rules() |
pankso@520 | 44 { |
devl547@19327 | 45 cook_copy_files *.so* |
pankso@520 | 46 } |