wok-next view mpfr/receipt @ rev 19990
lighttpd: add missing SPLIT
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 20 08:05:51 2017 +0200 (2017-10-20) |
parents | 10e3347b5a0d |
children | 90a5eb560fd6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mpfr"
4 VERSION="3.1.5"
5 CATEGORY="libdevel"
6 SHORT_DESC="Multiple-precision floating-point computations"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.mpfr.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://www.mpfr.org/$PACKAGE-$VERSION/$TARBALL"
15 BUILD_DEPENDS="gmp-dev texinfo"
16 SPLIT="mpfr-dev"
18 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
19 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --disable-static \
26 --enable-thread-safe \
27 --docdir=/usr/share/doc/mpfr-$VERSION \
28 $CONFIGURE_ARGS &&
29 make && make html && make install && make install-html
30 }
32 testsuite()
33 {
34 case "$ARCH" in i?86) make check;; esac
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 case $PACKAGE in
41 mpfr) copy @std; DEPENDS="gmp";;
42 *-dev) copy @dev;;
43 esac
44 }