wok annotate gmp/receipt @ rev 20251
mixxx: force 32 bits arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 18:00:41 2018 +0100 (2018-03-12) |
parents | 314808318aef |
children | a78610b2eb47 |
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" |
pankso@520 | 10 WEB_SITE="http://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 |