wok-stable view gmp/receipt @ rev 9675
nano: clean-up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 04 20:15:33 2011 +0200 (2011-05-04) |
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 }