wok view mpfr/receipt @ rev 25647

Backout salvador 10% speedup: crashes with large files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 26 12:15:51 2024 +0000 (9 months ago)
parents 9b180a3071fb
children ffe3a28f2096
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="4.1.0"
5 CATEGORY="development"
6 SHORT_DESC="C library for multiple-precision floating-point computations."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://gitlab.inria.fr/mpfr"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://ftp.gnu.org/gnu/mpfr/$TARBALL"
14 DEPENDS="gmp"
15 BUILD_DEPENDS="gmp-dev"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://gitlab.inria.fr/mpfr/mpfr/-/tags?sort=updated_desc 2>/dev/null | \
23 sed '/item-title/!d;s|.*tags/||;s|".*||;q'
24 }
26 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
27 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 case "$ARCH" in
33 (i?86)
34 ./configure \
35 --enable-thread-safe \
36 $CONFIGURE_ARGS &&
37 make &&
38 make check &&
39 make install
40 ;;
41 (*)
42 ./configure \
43 --enable-thread-safe \
44 $CONFIGURE_ARGS &&
45 make &&
46 make install
47 ;;
48 esac
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 cook_copy_files *.so*
55 }