wok view mpfr/receipt @ rev 19324
syslinux: adjust custom conf location
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 14 10:28:07 2016 +0200 (2016-07-14) |
parents | 63c5da92bdb1 |
children | dd1a1c7a653a |
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 case "$ARCH" in
25 i?86)
26 ./configure \
27 --enable-thread-safe \
28 $CONFIGURE_ARGS &&
29 make && make check && make install ;;
30 *)
31 ./configure \
32 --enable-thread-safe \
33 $CONFIGURE_ARGS &&
34 make && make install ;;
35 esac
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }