wok view mpfr/receipt @ rev 18973
splashutils: fix build, update URLs, add description
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 12 14:29:04 2016 +0200 (2016-03-12) |
parents | 3a1e8d25c320 |
children | 6e41896cc317 |
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="3.1.2"
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 patch -Np1 -i $stuff/mpfr-3.1.2-upstream_fixes-3.patch
24 ./configure \
25 --enable-thread-safe \
26 $CONFIGURE_ARGS &&
27 make && make check && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }