void-packages/srcpkgs/mpfr/template

26 lines
693 B
Bash

# Template build file for 'mpfr'
pkgname=mpfr
version=3.1.5
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=015fde82b3979fbe5f83501986d328331ba8ddf008c1ff3da3c238f49ca062bc
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"
}
}