wok view mpfr/receipt @ rev 24521

updated ettercap (0.8.3 -> 0.8.3.1)
author Hans-G?nter Theisgen
date Tue Feb 22 15:47:04 2022 +0100 (2022-02-22)
parents 3f576c26c703
children 9dbcbcae7c12
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://www.mpfr.org/mpfr-current/ 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
27 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 case "$ARCH" in
33 i?86)
34 ./configure \
35 --enable-thread-safe \
36 $CONFIGURE_ARGS &&
37 make &&
38 make check &&
39 make install ;;
40 *)
41 ./configure \
42 --enable-thread-safe \
43 $CONFIGURE_ARGS &&
44 make &&
45 make install ;;
46 esac
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 cook_copy_files *.so*
53 }