wok-next view gmp/receipt @ rev 15013
Up nscd (2.14.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 13:54:55 2013 +0000 (2013-08-11) |
parents | ba9a10a1fef4 |
children | f4c22f009037 |
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 LICENCE="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 }