wok-next view gmp/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 90a5eb560fd6
children d5aab818505e
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 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 BUILD_DEPENDS="binutils m4 ncurses-dev readline-dev texinfo"
16 SPLIT="gmp-dev"
18 compile_rules() {
19 # Create generic libraries
20 cp -v configfsf.guess config.guess
21 cp -v configfsf.sub config.sub
23 ./configure \
24 --enable-cxx \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 # -j > 1 make install fails.
29 make && make html &&
30 make install && make install-html
31 }
33 testsuite() {
34 checklog=$(mktemp)
35 make check 2>&1 | tee $checklog
36 pass=$(awk '/# PASS:/{total+=$3} ; END{print total}' $checklog)
37 echo "$pass / 190 tests passed"
38 rm $checklog
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 gmp)
44 copy @std
45 TAGS="LFS"
46 ;;
47 *-dev) copy @dev;;
48 esac
49 }