wok-6.x annotate gmp/receipt @ rev 13899
qutim: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 19 15:58:06 2013 +0100 (2013-01-19) |
parents | ecf8eec52630 |
children | 2b9f96603415 |
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" |
pankso@520 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@520 | 9 WEB_SITE="http://gmplib.org/" |
pankso@520 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@520 | 11 |
slaxemulator@10575 | 12 DEPENDS="glibc-base" |
al@13717 | 13 BUILD_DEPENDS="binutils m4" |
slaxemulator@10575 | 14 |
pankso@520 | 15 # Rules to configure and make the package. |
pankso@520 | 16 compile_rules() |
pankso@520 | 17 { |
pankso@520 | 18 cd $src |
slaxemulator@10575 | 19 if [ -x /usr/bin/cook ]; then |
slaxemulator@10575 | 20 [ -d "/var/lib/tazpkg/binutils" ] || tazpkg get-install binutils |
slaxemulator@10575 | 21 fi |
gokhlayeh@8190 | 22 # gmp try to cook for 64bits system if kernel can support when using |
pankso@10026 | 23 # tmp toolchain. Not only and this export does nothing !!! |
gokhlayeh@8190 | 24 export ABI=32 |
al@13717 | 25 ./configure $CONFIGURE_ARGS --enable-cxx && |
pascal@1511 | 26 make && |
gokhlayeh@8190 | 27 # -j > 1 make install fails. |
gokhlayeh@8190 | 28 make -j 1 install |
pankso@520 | 29 } |
pankso@520 | 30 |
pankso@520 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@520 | 32 genpkg_rules() |
pankso@520 | 33 { |
pankso@520 | 34 mkdir -p $fs/usr/lib |
pankso@12262 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@520 | 36 } |
pankso@520 | 37 |