28 lines
814 B
Bash
28 lines
814 B
Bash
# Template file for 'fplll'
|
|
pkgname=fplll
|
|
version=5.4.1
|
|
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=7bd887957173aa592091772c1c36f6aa606b3b2ace0d14e2c26c7463dcf2deb7
|
|
|
|
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"
|
|
}
|
|
}
|