void-packages/srcpkgs/mpfr/template

26 lines
699 B
Bash

# Template build file for 'mpfr'
pkgname=mpfr
version=3.1.6
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="http://www.mpfr.org/mpfr-current/mpfr-${version}.tar.xz"
checksum=7a62ac1a04408614fccdc506e4844b10cf0ad2c2b1677097f8f35d3a1344a950
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"
}
}