wok annotate gmp/receipt @ rev 16171

ARM: e17 still need more bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 30 03:41:12 2014 +0200 (2014-03-30)
parents f4c22f009037
children 314808318aef
rev   line source
pankso@520 1 # SliTaz package receipt
pankso@520 2
pankso@520 3 PACKAGE="gmp"
pankso@12262 4 VERSION="5.0.4"
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@16027 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@520 18 {
pankso@16027 19 case "$ARCH" in
pankso@16027 20 i?86)
pankso@16027 21 export ABI=32
pankso@16027 22 ARCH_ARGS="--enable-cxx" ;;
pankso@16027 23 esac
pankso@16027 24 ./configure \
pankso@16027 25 $CONFIGURE_ARGS $ARCH_ARGS &&
gokhlayeh@8190 26 # -j > 1 make install fails.
pankso@16027 27 make && make -j 1 install
pankso@520 28 }
pankso@520 29
pankso@520 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@520 31 genpkg_rules()
pankso@520 32 {
pankso@520 33 mkdir -p $fs/usr/lib
pankso@12262 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@520 35 }
pankso@520 36