void-packages/srcpkgs/mpfr/template

26 lines
689 B
Bash

# Template build file for 'mpfr'
pkgname=mpfr
version=3.1.4
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.xz"
checksum=761413b16d749c53e2bfd2b1dfaa3b027b0e793e404b90b5fbaeef60af6517f5
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"
}
}