wok-next view mpfr/receipt @ rev 19688
xscreensaver: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 11 15:41:38 2017 +0200 (2017-04-11) |
parents | dd1a1c7a653a |
children | 7387df590f12 |
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="3.1.4"
5 CATEGORY="development"
6 SHORT_DESC="C library for 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 DEPENDS="gmp"
16 BUILD_DEPENDS="gmp-dev texinfo"
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 # patch -Np1 -i $stuff/mpfr-3.1.2-upstream_fixes-3.patch
26 ./configure \
27 --disable-static \
28 --enable-thread-safe \
29 --docdir=/usr/share/doc/mpfr-$VERSION \
30 $CONFIGURE_ARGS &&
31 make && make html && make install && make install-html
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files *.so*
38 }
40 testsuite()
41 {
42 case "$ARCH" in i?86) make check;; esac
43 }