wok annotate mpc-library/receipt @ rev 25157

updated pugixml (1.10 -> 1.12.1)
author Hans-G?nter Theisgen
date Thu Jun 30 16:40:03 2022 +0100 (2022-06-30)
parents 71360a13cd94
children d79ed38ace18
rev   line source
pankso@5268 1 # SliTaz package receipt.
pankso@5268 2
pankso@5268 3 PACKAGE="mpc-library"
Hans-G?nter@24926 4 VERSION="1.2.1"
pankso@5268 5 CATEGORY="development"
Hans-G?nter@21481 6 SHORT_DESC="A C library for the arithmetic of complex numbers."
pankso@5268 7 MAINTAINER="pankso@slitaz.org"
pascal@15583 8 LICENSE="GPL2"
Hans-G?nter@24926 9 WEB_SITE="https://www.multiprecision.org/"
Hans-G?nter@21481 10
pankso@5268 11 SOURCE="mpc"
pankso@5268 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@21481 13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
Hans-G?nter@21481 14
Hans-G?nter@21481 15 DEPENDS="gmp mpfr"
Hans-G?nter@21481 16 BUILD_DEPENDS="gmp-dev mpfr-dev"
Hans-G?nter@21481 17
pankso@16319 18 HOST_ARCH="i486 arm"
pankso@16319 19
pascal@24336 20 # What is the latest version available today?
pascal@24336 21 current_version()
pascal@24336 22 {
pascal@24336 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 24 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 25 }
pascal@24336 26
pankso@5268 27 compile_rules()
pankso@5268 28 {
Hans-G?nter@21481 29 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21481 30 make &&
Hans-G?nter@21481 31 make install
pankso@5268 32 }
pankso@5268 33
pankso@5268 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5268 35 genpkg_rules()
pankso@5268 36 {
Hans-G?nter@24926 37 cook_copy_folders include
Hans-G?nter@24926 38 cook_copy_folders lib
pankso@5268 39 }