# Template file for 'fplll'
pkgname=fplll
version=5.5.0
revision=1
build_style=gnu-configure
makedepends="gmp-devel mpfr-devel"
short_desc="Lattice algorithms using floating-point orthogonalization and LLL"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="LGPL-2.1-or-later"
homepage="https://github.com/fplll/fplll"
changelog="https://github.com/fplll/fplll/releases"
distfiles="https://github.com/fplll/fplll/releases/download/${version}/fplll-${version}.tar.gz"
checksum=f0af6bdd0ebd5871e87ff3ef7737cb5360b1e38181a4e5a8c1236f3476fec3b2

fplll-devel_package() {
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
