wok annotate mpfr/receipt @ rev 24897

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 08 16:49:55 2022 +0000 (2022-04-08)
parents 3f576c26c703
children 9dbcbcae7c12
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
pascal@24436 19 # What is the latest version available today?
pascal@24436 20 current_version()
pascal@24436 21 {
pascal@24436 22 wget -O - https://www.mpfr.org/mpfr-current/ 2>/dev/null | \
pascal@24436 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed 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
pascal@19096 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@21483 39 make install ;;
pascal@19096 40 *)
Hans-G?nter@21483 41 ./configure \
Hans-G?nter@21483 42 --enable-thread-safe \
pascal@19096 43 $CONFIGURE_ARGS &&
Hans-G?nter@21483 44 make &&
Hans-G?nter@21483 45 make install ;;
pascal@19096 46 esac
pankso@520 47 }
pankso@520 48
pankso@520 49 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@520 50 genpkg_rules()
pankso@520 51 {
devl547@19327 52 cook_copy_files *.so*
pankso@520 53 }