wok-next annotate gmp/receipt @ rev 8190
imported patch toolchain/gmp.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | 30a97b458420 |
children | dd0e8a306fc7 |
rev | line source |
---|---|
pankso@520 | 1 # SliTaz package receipt |
pankso@520 | 2 |
pankso@520 | 3 PACKAGE="gmp" |
slaxemulator@6516 | 4 VERSION="5.0.1" |
pankso@520 | 5 CATEGORY="development" |
pankso@520 | 6 SHORT_DESC="GNU Multiple Precision Arithmetic Library." |
pankso@520 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@8190 | 8 DEPENDS="glibc-base" |
gokhlayeh@8190 | 9 BUILD_DEPENDS="binutils" |
pankso@520 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@520 | 11 WEB_SITE="http://gmplib.org/" |
pankso@520 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@520 | 13 |
pankso@520 | 14 # Rules to configure and make the package. |
pankso@520 | 15 compile_rules() |
pankso@520 | 16 { |
pankso@520 | 17 cd $src |
gokhlayeh@8190 | 18 # gmp try to cook for 64bits system if kernel can support when using |
gokhlayeh@8190 | 19 # tmp toolchain |
gokhlayeh@8190 | 20 export ABI=32 |
gokhlayeh@8190 | 21 ./configure && |
pascal@1511 | 22 make && |
gokhlayeh@8190 | 23 # -j > 1 make install fails. |
gokhlayeh@8190 | 24 make -j 1 install |
pankso@520 | 25 } |
pankso@520 | 26 |
pankso@520 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@520 | 28 genpkg_rules() |
pankso@520 | 29 { |
pankso@520 | 30 mkdir -p $fs/usr/lib |
pankso@520 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@520 | 32 } |
pankso@520 | 33 |