# Template build file for 'mpfr'
pkgname=mpfr
version=3.1.3
revision=1
bootstrap=yes
build_style=gnu-configure
configure_args="--enable-thread-safe"
makedepends="gmp-devel"
short_desc="Library for multiple-precision floating-point computations"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="http://www.mpfr.org"
distfiles="${homepage}/mpfr-current/$pkgname-$version.tar.bz2"
checksum=f63bb459157cacd223caac545cb816bcdb5a0de28b809e7748b82e9eb89b0afd

mpfr-devel_package() {
	depends="gmp-devel mpfr>=${version}_${revision}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
