wok-6.x view gmp/receipt @ rev 16188
ympd: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 30 18:14:36 2014 +0000 (2014-03-30) |
parents | f4c22f009037 |
children | 314808318aef |
line source
1 # SliTaz package receipt
3 PACKAGE="gmp"
4 VERSION="5.0.4"
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 case "$ARCH" in
20 i?86)
21 export ABI=32
22 ARCH_ARGS="--enable-cxx" ;;
23 esac
24 ./configure \
25 $CONFIGURE_ARGS $ARCH_ARGS &&
26 # -j > 1 make install fails.
27 make && make -j 1 install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }