wok view gmp/receipt @ rev 16036

ARM: remove audiofile (dont compile on tank) and add xorg-recordproto
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 09 03:50:37 2014 +0100 (2014-03-09)
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 }