wok annotate mpfr/receipt @ rev 25673
Fix tcpdump path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 14:52:00 2024 +0000 (8 months ago) |
parents | 9b180a3071fb |
children | ffe3a28f2096 |
rev | line source |
---|---|
pankso@520 | 1 # SliTaz package receipt |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="mpfr" |
Hans-G?nter@24922 | 4 VERSION="4.1.0" |
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@24980 | 9 WEB_SITE="https://gitlab.inria.fr/mpfr" |
Hans-G?nter@21483 | 10 |
Hans-G?nter@21483 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@24980 | 12 WGET_URL="https://ftp.gnu.org/gnu/mpfr/$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 |
pascal@24436 | 19 # What is the latest version available today? |
pascal@24436 | 20 current_version() |
pascal@24436 | 21 { |
pascal@25604 | 22 wget -O - https://gitlab.inria.fr/mpfr/mpfr/-/tags?sort=updated_desc 2>/dev/null | \ |
pascal@25604 | 23 sed '/item-title/!d;s|.*tags/||;s|".*||;q' |
pascal@24436 | 24 } |
pascal@24436 | 25 |
pankso@16319 | 26 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib |
pankso@16319 | 27 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include |
pankso@16319 | 28 |
pankso@520 | 29 # Rules to configure and make the package. |
pankso@520 | 30 compile_rules() |
pankso@16319 | 31 { |
pascal@19096 | 32 case "$ARCH" in |
Hans-G?nter@24922 | 33 (i?86) |
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 check && |
Hans-G?nter@24922 | 39 make install |
Hans-G?nter@24922 | 40 ;; |
Hans-G?nter@24922 | 41 (*) |
Hans-G?nter@21483 | 42 ./configure \ |
Hans-G?nter@21483 | 43 --enable-thread-safe \ |
pascal@19096 | 44 $CONFIGURE_ARGS && |
Hans-G?nter@21483 | 45 make && |
Hans-G?nter@24922 | 46 make install |
Hans-G?nter@24922 | 47 ;; |
pascal@19096 | 48 esac |
pankso@520 | 49 } |
pankso@520 | 50 |
pankso@520 | 51 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@520 | 52 genpkg_rules() |
pankso@520 | 53 { |
Hans-G?nter@24922 | 54 cook_copy_files *.so* |
pankso@520 | 55 } |