wok-current view mpfr/receipt @ rev 20035

Add stm8flash
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Aug 24 02:43:00 2017 +0200 (2017-08-24)
parents dd1a1c7a653a
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="3.1.5"
5 CATEGORY="development"
6 SHORT_DESC="C library for multiple-precision floating-point computations."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.mpfr.org/"
11 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="gmp"
15 BUILD_DEPENDS="gmp-dev"
17 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
18 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 case "$ARCH" in
24 i?86)
25 ./configure \
26 --enable-thread-safe \
27 $CONFIGURE_ARGS &&
28 make && make check && make install ;;
29 *)
30 ./configure \
31 --enable-thread-safe \
32 $CONFIGURE_ARGS &&
33 make && make install ;;
34 esac
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_files *.so*
41 }