wok annotate mpfr/receipt @ rev 10354

libIDL: can't cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 22:49:16 2011 +0200 (2011-05-22)
parents c0a1b4813965
children bdfc74b6f7b0
rev   line source
pankso@520 1 # SliTaz package receipt
pankso@520 2
pankso@520 3 PACKAGE="mpfr"
pankso@9740 4 VERSION="3.0.1"
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"
pankso@520 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@520 9 WEB_SITE="http://www.mpfr.org/"
pankso@520 10 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
pankso@9741 11
pankso@9741 12 DEPENDS="gmp"
pankso@9750 13 BUILD_DEPENDS="gmp-dev"
pankso@520 14
pankso@520 15 # Rules to configure and make the package.
pankso@520 16 compile_rules()
pankso@520 17 {
pankso@520 18 cd $src
pankso@9750 19 patch -Np1 -i $stuff/$PACKAGE-$VERSION.patch
pankso@10026 20 ./configure $CONFIGURE_ARGS &&
pankso@10026 21 make && make install
pankso@520 22 }
pankso@520 23
pankso@520 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@520 25 genpkg_rules()
pankso@520 26 {
pankso@520 27 mkdir -p $fs/usr/lib
pankso@520 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@520 29 }