28 lines
814 B
Bash
28 lines
814 B
Bash
# Template file for 'fplll'
|
|
pkgname=fplll
|
|
version=5.4.2
|
|
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"
|
|
distfiles="https://github.com/fplll/fplll/releases/download/${version}/fplll-${version}.tar.gz"
|
|
checksum=6e7b1704fd56f29dd9fc1dd719cc1f2df1f58964fd77bbde162f594d7fff7ba5
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|