wok-6.x view gmp/receipt @ rev 9580
Up: json-glib to 0.12.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 12 11:42:31 2011 +0000 (2011-04-12) |
parents | 30a97b458420 |
children | dd0e8a306fc7 |
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
20 export ABI=32
21 ./configure &&
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 }