wok-next view mpfr/receipt @ rev 20997
Update netsurf, use combined sources, separated packages no more required
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 04 19:53:01 2018 +0300 (2018-10-04) |
parents | e7a485521d6a |
children | d5aab818505e |
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="pankso@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="mpfr-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 case "$ARCH" in
35 arm*) ;;
36 *) make check;;
37 esac
38 }
40 genpkg_rules() {
41 case $PACKAGE in
42 mpfr)
43 copy @std
44 DEPENDS="gmp"
45 TAGS="LFS"
46 ;;
47 *-dev) copy @dev;;
48 esac
49 }