wok annotate mpfr/receipt @ rev 19096

Up gparted (0.26.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 03 18:57:25 2016 +0200 (2016-05-03)
parents 63c5da92bdb1
children dd1a1c7a653a
rev   line source
pankso@520 1 # SliTaz package receipt
pankso@520 2
pankso@520 3 PACKAGE="mpfr"
pankso@16319 4 VERSION="3.1.2"
pankso@520 5 CATEGORY="development"
pankso@520 6 SHORT_DESC="C library for multiple-precision floating-point computations."
pankso@520 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
pankso@520 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@520 10 WEB_SITE="http://www.mpfr.org/"
pankso@520 11 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
pankso@16319 12 HOST_ARCH="i486 arm"
pankso@9741 13
pankso@9741 14 DEPENDS="gmp"
pankso@9750 15 BUILD_DEPENDS="gmp-dev"
pankso@520 16
pankso@16319 17 #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
pankso@16319 18 #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
pankso@16319 19
pankso@520 20 # Rules to configure and make the package.
pankso@520 21 compile_rules()
pankso@16319 22 {
devl547@17580 23 patch -Np1 -i $stuff/mpfr-3.1.2-upstream_fixes-3.patch
pascal@19096 24 case "$ARCH" in
pascal@19096 25 i?86)
pascal@19096 26 ./configure \
pascal@19096 27 --enable-thread-safe \
pascal@19096 28 $CONFIGURE_ARGS &&
pascal@19096 29 make && make check && make install ;;
pascal@19096 30 *)
pascal@19096 31 ./configure \
pascal@19096 32 --enable-thread-safe \
pascal@19096 33 $CONFIGURE_ARGS &&
pascal@19096 34 make && make install ;;
pascal@19096 35 esac
pankso@520 36 }
pankso@520 37
pankso@520 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@520 39 genpkg_rules()
pankso@520 40 {
pankso@520 41 mkdir -p $fs/usr/lib
pankso@12264 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@520 43 }