wok-current view gmp/receipt @ rev 17665

attr: /lib moved to /usr/lib
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 15 15:16:45 2015 +0100 (2015-02-15)
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 }