wok-next view gmp/receipt @ rev 21445
updated scim (1.4.17 -> 1.4.18)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 16:55:11 2020 +0100 (2020-05-05) |
parents | d5aab818505e |
children | b916a2fbb9f0 |
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="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://gmplib.org/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gmp.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 COOKOPTS="force-arch" # different .h
17 BUILD_DEPENDS="binutils m4 ncurses-dev readline-dev texinfo"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 # Create generic libraries
22 cp -v configfsf.guess config.guess
23 cp -v configfsf.sub config.sub
25 ./configure \
26 --enable-cxx \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 # -j > 1 make install fails.
31 make &&
32 make html &&
33 make install &&
34 make install-html
35 }
37 testsuite() {
38 checklog=$(mktemp)
39 make check 2>&1 | tee $checklog
40 pass=$(awk '/# PASS:/{total+=$3}; END{print total}' $checklog)
41 echo "$pass / 190 tests passed"
42 rm $checklog
43 }
45 genpkg_rules() {
46 case $PACKAGE in
47 gmp)
48 copy @std
49 TAGS="LFS"
50 ;;
51 *-dev) copy @dev;;
52 esac
53 }