28 lines
792 B
Bash
28 lines
792 B
Bash
# Template file for 'mpfr'
|
|
pkgname=mpfr
|
|
version=4.2.1
|
|
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"
|
|
changelog="https://www.mpfr.org/mpfr-current/#changes"
|
|
distfiles="http://www.mpfr.org/mpfr-${version}/mpfr-${version}.tar.xz"
|
|
checksum=277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2
|
|
|
|
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"
|
|
}
|
|
}
|