wok annotate gmp/receipt @ rev 24666
created recipes for double-conversion and double-conversion-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 15:40:49 2022 +0100 (2022-03-11) |
parents | 3cdc90c472a2 |
children | 3c575401ce94 |
rev | line source |
---|---|
pankso@520 | 1 # SliTaz package receipt |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="gmp" |
Hans-G?nter@24608 | 4 VERSION="6.2.1" |
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 { |
Hans-G?nter@24608 | 38 cook_copy_files *.so* |
pankso@520 | 39 } |