wok-next view gmp/receipt @ rev 20097
Update some bdeps.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 29 01:19:50 2017 +0300 (2017-10-29) |
parents | 10e3347b5a0d |
children | c78b38baa3f0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gmp"
4 VERSION="6.1.2"
5 CATEGORY="libdevel"
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"
16 SPLIT="gmp-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --enable-cxx \
23 --disable-static \
24 --docdir=/usr/share/doc/gmp-$VERSION \
25 $CONFIGURE_ARGS &&
26 # -j > 1 make install fails.
27 make && make html && make install && make install-html
28 }
30 testsuite()
31 {
32 checklog=$(mktemp)
33 make check 2>&1 | tee $checklog
34 pass=$(awk '/# PASS:/{total+=$3} ; END{print total}' $checklog)
35 echo "$pass / 190 tests passed"
36 rm $checklog
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 case $PACKAGE in
43 gmp) copy @std;;
44 *-dev) copy @dev;;
45 esac
46 }