26 lines
737 B
Bash
26 lines
737 B
Bash
# Template file for 'mpfr'
|
|
pkgname=mpfr
|
|
version=4.0.2
|
|
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="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="http://www.mpfr.org"
|
|
distfiles="http://www.mpfr.org/mpfr-${version}/mpfr-${version}.tar.xz"
|
|
checksum=1d3be708604eae0e42d578ba93b390c2a145f17743a744d8f3f8c2ad5855a38a
|
|
|
|
mpfr-devel_package() {
|
|
depends="${makedepends} mpfr>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|