blob: 5d8b4e012b05e76dce7a54d73708754498c2b414 (
plain) (
tree)
|
|
# Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org>
pkgname=mpfr3
pkgver=3.1.6
pkgrel=0
pkgdesc="multiple-precision floating-point library"
url="http://www.mpfr.org/"
arch="all"
license="LGPL-3.0+"
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
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
dev() {
replaces=mpfr
default_dev
}
sha512sums="746ee74d5026f267f74ab352d850ed30ff627d530aa840c71b24793e44875f8503946bd7399905dea2b2dd5744326254d7889337fe94cfe58d03c4066e9d8054 mpfr-3.1.6.tar.xz"
|