wok-next view gmp/receipt @ rev 19723
Up valgrind (3.12.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 24 18:53:03 2017 +0200 (2017-05-24) |
parents | 314808318aef |
children | 7387df590f12 |
line source
1 # SliTaz package receipt
3 PACKAGE="gmp"
4 VERSION="6.1.1"
5 CATEGORY="development"
6 SHORT_DESC="GNU Multiple Precision Arithmetic Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://gmplib.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="binutils m4 ncurses-dev readline-dev texinfo"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --enable-cxx \
22 --disable-static \
23 --docdir=/usr/share/doc/gmp-$VERSION \
24 $CONFIGURE_ARGS &&
25 # -j > 1 make install fails.
26 make && make html && make install && make install-html
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cook_copy_files *.so*
33 }
35 testsuite()
36 {
37 checklog=$(mktemp)
38 make check 2>&1 | tee $checklog
39 pass=$(awk '/# PASS:/{total+=$3} ; END{print total}' $checklog)
40 echo "$pass / 190 tests passed"
41 rm $checklog
42 }