wok annotate mpfr/receipt @ rev 19494

linld: cooker doc link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 14 08:55:24 2016 +0100 (2016-11-14)
parents 6e41896cc317
children 0087cee9d16e
rev   line source
pankso@520 1 # SliTaz package receipt
pankso@520 2
pankso@520 3 PACKAGE="mpfr"
devl547@19327 4 VERSION="3.1.4"
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 {
devl547@19327 41 cook_copy_files *.so*
pankso@520 42 }