wok-6.x annotate gmp/receipt @ rev 15325
Up tcpdump (4.4.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 21:59:48 2013 +0000 (2013-09-27) |
parents | 2b9f96603415 |
children | e47c0281ba48 |
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@520 | 12 |
slaxemulator@10575 | 13 DEPENDS="glibc-base" |
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@520 | 19 cd $src |
slaxemulator@10575 | 20 if [ -x /usr/bin/cook ]; then |
slaxemulator@10575 | 21 [ -d "/var/lib/tazpkg/binutils" ] || tazpkg get-install binutils |
slaxemulator@10575 | 22 fi |
gokhlayeh@8190 | 23 # gmp try to cook for 64bits system if kernel can support when using |
pankso@10026 | 24 # tmp toolchain. Not only and this export does nothing !!! |
gokhlayeh@8190 | 25 export ABI=32 |
al@13717 | 26 ./configure $CONFIGURE_ARGS --enable-cxx && |
pascal@1511 | 27 make && |
gokhlayeh@8190 | 28 # -j > 1 make install fails. |
gokhlayeh@8190 | 29 make -j 1 install |
pankso@520 | 30 } |
pankso@520 | 31 |
pankso@520 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@520 | 33 genpkg_rules() |
pankso@520 | 34 { |
pankso@520 | 35 mkdir -p $fs/usr/lib |
pankso@12262 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@520 | 37 } |
pankso@520 | 38 |