wok-6.x view gmp/receipt @ rev 13352
Add perl-io-tty, perl-io-stty, perl-number-range, perl-expect, perl-algorithm-permute
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 10 09:49:31 2012 +0200 (2012-09-10) |
parents | 374c76bed660 |
children | ba9a10a1fef4 |
line source
1 # SliTaz package receipt
3 PACKAGE="gmp"
4 VERSION="5.0.4"
5 CATEGORY="development"
6 SHORT_DESC="GNU Multiple Precision Arithmetic Library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://gmplib.org/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="glibc-base"
13 BUILD_DEPENDS="binutils"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 if [ -x /usr/bin/cook ]; then
20 [ -d "/var/lib/tazpkg/binutils" ] || tazpkg get-install binutils
21 fi
22 # gmp try to cook for 64bits system if kernel can support when using
23 # tmp toolchain. Not only and this export does nothing !!!
24 export ABI=32
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 # -j > 1 make install fails.
28 make -j 1 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }