wok annotate gmp/receipt @ rev 24484

updated dislocker (0.7.1 -> 0.7.3)
author Hans-G?nter Theisgen
date Fri Feb 18 15:45:33 2022 +0100 (2022-02-18)
parents eb86a8841d2a
children 23518fd0fb42
rev   line source
pankso@520 1 # SliTaz package receipt
pankso@520 2
pankso@520 3 PACKAGE="gmp"
Hans-G?nter@22857 4 VERSION="6.2.0"
pankso@520 5 CATEGORY="development"
pankso@520 6 SHORT_DESC="GNU Multiple Precision Arithmetic Library."
pankso@520 7 MAINTAINER="pankso@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
Hans-G?nter@22857 9 WEB_SITE="https://gmplib.org/"
Hans-G?nter@22857 10
pankso@520 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@520 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@520 13
al@13717 14 BUILD_DEPENDS="binutils m4"
slaxemulator@10575 15
Hans-G?nter@22857 16 HOST_ARCH="i486 arm"
Hans-G?nter@22857 17
pascal@24070 18 current_version()
pascal@24070 19 {
pascal@24070 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24070 21 sed '/current stable/!d;s|.* is ||;s|,.*||'
pascal@24070 22 }
pascal@24070 23
pankso@520 24 # Rules to configure and make the package.
pankso@520 25 compile_rules()
pankso@16257 26 {
Hans-G?nter@22857 27 ./configure \
Hans-G?nter@22857 28 --enable-cxx \
pankso@16257 29 $CONFIGURE_ARGS &&
Hans-G?nter@22857 30 # make -j > 1 install fails.
Hans-G?nter@22857 31 make &&
Hans-G?nter@22857 32 make -j 1 install
pankso@520 33 }
pankso@520 34
pankso@520 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@520 36 genpkg_rules()
pankso@520 37 {
pankso@520 38 mkdir -p $fs/usr/lib
Hans-G?nter@22857 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@520 40 }