wok-next view mpfr/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 a3c581bf52b8
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mpfr"
4 VERSION="4.0.1"
5 CATEGORY="libdevel"
6 SHORT_DESC="Multiple-precision floating-point computations"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.mpfr.org/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/svn/chapter06/mpfr.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://www.mpfr.org/$PACKAGE-$VERSION/$TARBALL"
15 BUILD_DEPENDS="gmp-dev texinfo gcc-lib-math"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
20 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
22 ./configure \
23 --disable-static \
24 --enable-thread-safe \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make html &&
29 make install &&
30 make install-html
31 }
33 testsuite() {
34 make check
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 mpfr)
40 copy @std
41 DEPENDS="gmp"
42 TAGS="LFS"
43 ;;
44 *-dev) copy @dev;;
45 esac
46 }