# SliTaz package receipt

PACKAGE="mpfr"
VERSION="4.1.0"
CATEGORY="development"
SHORT_DESC="C library for multiple-precision floating-point computations."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.mpfr.org/"
WGET_URL="$GNU_MIRROR/mpfr/$TARBALL"

DEPENDS="gmp"
BUILD_DEPENDS="gmp-dev"

# Rules to configure and make the package.
compile_rules()
{	
	cd $src
	./configure \
	    --enable-thread-safe \
	    $CONFIGURE_ARGS &&
	make && 
        # make check all pass but output break cook
	make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}