wok view gmp/receipt @ rev 10026
gmp, mpc-library, mpfr: fix build system wirh --build and --host from CONFIGURE_ARGS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 19 21:14:41 2011 +0200 (2011-05-19) |
parents | 79a8dffadd9f |
children | 4773dc63b2eb |
line source
1 # SliTaz package receipt
3 PACKAGE="gmp"
4 VERSION="5.0.1"
5 CATEGORY="development"
6 SHORT_DESC="GNU Multiple Precision Arithmetic Library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="binutils"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://gmplib.org/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # gmp try to cook for 64bits system if kernel can support when using
19 # tmp toolchain. Not only and this export does nothing !!!
20 export ABI=32
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 # -j > 1 make install fails.
24 make -j 1 install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }