void-packages/srcpkgs/mpfr/template

27 lines
703 B
Bash

# Template build file for 'mpfr'
pkgname=mpfr
version=4.0.0
revision=2
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="http://www.mpfr.org/mpfr-${version}/mpfr-${version}.tar.xz"
checksum=fbe2cd1418b321f5c899ce4f0f0f4e73f5ecc7d02145b0e1fd096f5c3afb8a1d
mpfr-devel_package() {
depends="${makedepends} mpfr>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}