wok-6.x annotate mpfr/receipt @ rev 17533

Add libssh2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 21 17:12:27 2015 +0100 (2015-01-21)
parents 2b9f96603415
children 63c5da92bdb1
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 {
pankso@16319 23 ./configure \
pankso@16319 24 $CONFIGURE_ARGS &&
pankso@10026 25 make && make install
pankso@520 26 }
pankso@520 27
pankso@520 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@520 29 genpkg_rules()
pankso@520 30 {
pankso@520 31 mkdir -p $fs/usr/lib
pankso@12264 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@520 33 }