wok-current view gmp/receipt @ rev 15773
Update tazbug-website/receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 08 00:17:59 2014 +0100 (2014-01-08) |
parents | 2b9f96603415 |
children | e47c0281ba48 |
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gmplib.org/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="binutils m4"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 if [ -x /usr/bin/cook ]; then
21 [ -d "/var/lib/tazpkg/binutils" ] || tazpkg get-install binutils
22 fi
23 # gmp try to cook for 64bits system if kernel can support when using
24 # tmp toolchain. Not only and this export does nothing !!!
25 export ABI=32
26 ./configure $CONFIGURE_ARGS --enable-cxx &&
27 make &&
28 # -j > 1 make install fails.
29 make -j 1 install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }