wok-next annotate gmp/receipt @ rev 16575
Up: slitaz-arm-codex, slitaz-arm-configs, slitaz-arm-rpi
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 23:25:04 2014 +0200 (2014-05-02) |
parents | e47c0281ba48 |
children | 10e3347b5a0d |
rev | line source |
---|---|
pankso@520 | 1 # SliTaz package receipt |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="gmp" |
pankso@16257 | 4 VERSION="6.0.0a" |
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 |