wok view gmp/receipt @ rev 9498
Up: slitaz-configs (4.2) New theme and stuff (mabe use for 4.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 06 03:32:49 2011 +0200 (2011-04-06) |
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 }