wok-6.x view gmp/receipt @ rev 16491
ARM: add mercurial with a fancy compile hack \o/
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 14:37:13 2014 +0200 (2014-04-23) |
parents | e47c0281ba48 |
children | e56f9ed5622e |
line source
1 # SliTaz package receipt
3 PACKAGE="gmp"
4 VERSION="6.0.0a"
5 CATEGORY="development"
6 SHORT_DESC="GNU Multiple Precision Arithmetic Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gmplib.org/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 BUILD_DEPENDS="binutils m4"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --enable-cxx \
21 $CONFIGURE_ARGS &&
22 # -j > 1 make install fails.
23 make && make -j 1 install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }