wok-current view mpfr/receipt @ rev 24210
properly renamed perl-file-rsync to perl-file-rsyncp
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:55:26 2021 +0100 (2021-12-31) |
parents | 6e8b1bcb30e2 |
children | 2a0479881723 |
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="4.0.2"
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="https://www.mpfr.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}$PACKAGE-$VERSION/$TARBALL"
14 DEPENDS="gmp"
15 BUILD_DEPENDS="gmp-dev"
17 HOST_ARCH="i486 arm"
19 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
20 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 case "$ARCH" in
26 i?86)
27 ./configure \
28 --enable-thread-safe \
29 $CONFIGURE_ARGS &&
30 make &&
31 make check &&
32 make install ;;
33 *)
34 ./configure \
35 --enable-thread-safe \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install ;;
39 esac
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_files *.so*
46 }