wok-current view gmp/receipt @ rev 24302

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 15 16:22:40 2022 +0000 (2022-01-15)
parents eb86a8841d2a
children 23518fd0fb42
line source
1 # SliTaz package receipt
3 PACKAGE="gmp"
4 VERSION="6.2.0"
5 CATEGORY="development"
6 SHORT_DESC="GNU Multiple Precision Arithmetic Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://gmplib.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="binutils m4"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/current stable/!d;s|.* is ||;s|,.*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --enable-cxx \
29 $CONFIGURE_ARGS &&
30 # make -j > 1 install fails.
31 make &&
32 make -j 1 install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }