# Maintainer: Natanael Copa pkgname=mpfr3 pkgver=3.1.4 pkgrel=0 pkgdesc="multiple-precision floating-point library" url="http://www.mpfr.org/" arch="all" license="GPL LGPL" depends="" makedepends_build="texinfo" makedepends_host="gmp-dev" makedepends="$makedepends_build $makedepends_host" source="http://www.mpfr.org/mpfr-$pkgver/mpfr-$pkgver.tar.xz" subpackages="$pkgname-doc mpfr-dev" builddir="$srcdir/mpfr-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --with-sysroot=${CBUILDROOT} \ --prefix=/usr \ --enable-shared \ || return 1; make || return 1; } package() { cd "$builddir" make DESTDIR="${pkgdir}" install || return 1; } dev() { replaces=mpfr default_dev } md5sums="064b2c18185038e404a401b830d59be8 mpfr-3.1.4.tar.xz" sha256sums="761413b16d749c53e2bfd2b1dfaa3b027b0e793e404b90b5fbaeef60af6517f5 mpfr-3.1.4.tar.xz" sha512sums="4ef61708834efdea6b85258f46f1b25ce1c55b912f44b117d8c3d5e06d8f1177e50f627d9736f3289bd159c5bb10c80e09d1ad9f6f52c4ff43c3496034b04232 mpfr-3.1.4.tar.xz"