wok annotate mpfr/receipt @ rev 25805

created recipe for xfce4-weather-plugin
author Hans-G?nter Theisgen
date Wed Nov 13 15:24:31 2024 +0100 (7 days ago)
parents c470ca10c896
children
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@25736 12 WGET_URL="https://www.mpfr.org/$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@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 }