wok view gmp/receipt @ rev 9179
Up: freeciv to 2.2.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 08 20:38:59 2011 +0000 (2011-03-08) |
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 }