wok-next view gmp/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents e19ff076dc63
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gmp"
4 VERSION="6.2.0"
5 CATEGORY="libdevel"
6 SHORT_DESC="GNU Multiple Precision Arithmetic Library"
7 MAINTAINER="maintainer@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 {
22 # Create generic libraries
23 cp -v configfsf.guess config.guess
24 cp -v configfsf.sub config.sub
26 ./configure \
27 --enable-cxx \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 # -j > 1 make install fails.
32 make &&
33 make html &&
34 make install &&
35 make install-html
36 }
38 testsuite()
39 {
40 checklog=$(mktemp)
41 make check 2>&1 | tee $checklog
42 pass=$(awk '/# PASS:/{total+=$3}; END{print total}' $checklog)
43 echo "$pass / 190 tests passed"
44 rm $checklog
45 }
47 genpkg_rules()
48 {
49 case $PACKAGE in
50 gmp)
51 copy @std
52 TAGS="LFS"
53 ;;
54 *-dev) copy @dev;;
55 esac
56 }