wok-6.x annotate gmp/receipt @ rev 22430

Add sshrc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 20 19:07:35 2019 +0100 (2019-12-20)
parents e56f9ed5622e
children eb86a8841d2a
rev   line source
pankso@520 1 # SliTaz package receipt
pankso@520 2
pankso@520 3 PACKAGE="gmp"
devl547@19614 4 VERSION="6.1.2"
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"
pankso@520 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20669 10 WEB_SITE="https://gmplib.org/"
pankso@520 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@16257 12 HOST_ARCH="i486 arm"
pankso@520 13
al@13717 14 BUILD_DEPENDS="binutils m4"
slaxemulator@10575 15
pankso@520 16 # Rules to configure and make the package.
pankso@520 17 compile_rules()
pankso@16257 18 {
pankso@16027 19 ./configure \
pankso@16257 20 --enable-cxx \
pankso@16257 21 $CONFIGURE_ARGS &&
gokhlayeh@8190 22 # -j > 1 make install fails.
pankso@16027 23 make && make -j 1 install
pankso@520 24 }
pankso@520 25
pankso@520 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@520 27 genpkg_rules()
pankso@520 28 {
pankso@520 29 mkdir -p $fs/usr/lib
pankso@12262 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@520 31 }
pankso@520 32