wok annotate mpfr/receipt @ rev 19876

linld: fix hook_int15_88
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 16:58:50 2017 +0200 (2017-03-31)
parents dd1a1c7a653a
children 6e8b1bcb30e2
rev   line source
pankso@520 1 # SliTaz package receipt
pankso@520 2
pankso@520 3 PACKAGE="mpfr"
devl547@19615 4 VERSION="3.1.5"
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 {
pascal@19096 23 case "$ARCH" in
pascal@19096 24 i?86)
pascal@19096 25 ./configure \
pascal@19096 26 --enable-thread-safe \
pascal@19096 27 $CONFIGURE_ARGS &&
pascal@19096 28 make && make check && make install ;;
pascal@19096 29 *)
pascal@19096 30 ./configure \
pascal@19096 31 --enable-thread-safe \
pascal@19096 32 $CONFIGURE_ARGS &&
pascal@19096 33 make && make install ;;
pascal@19096 34 esac
pankso@520 35 }
pankso@520 36
pankso@520 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@520 38 genpkg_rules()
pankso@520 39 {
devl547@19327 40 cook_copy_files *.so*
pankso@520 41 }