wok annotate gmp/receipt @ rev 10034

glibc: be compatible with current stable kernel
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 03:21:36 2011 +0200 (2011-05-20)
parents 79a8dffadd9f
children 4773dc63b2eb
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
pankso@10026 19 # tmp toolchain. Not only and this export does nothing !!!
gokhlayeh@8190 20 export ABI=32
pankso@10026 21 ./configure $CONFIGURE_ARGS &&
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