wok-6.x view gmp/receipt @ rev 25512

memtest: 386/1M support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 14 07:20:48 2023 +0000 (21 months ago)
parents 3cdc90c472a2
children
line source
1 # SliTaz package receipt
3 PACKAGE="gmp"
4 VERSION="6.2.1"
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 cook_copy_files *.so*
39 }