29 lines
866 B
Bash
29 lines
866 B
Bash
# Template file for 'fplll'
|
|
pkgname=fplll
|
|
version=5.4.4
|
|
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=0fd9d378f04ff886d8864728baf5d90b8b0b82c1e541e92550644fb54f75691d
|
|
|
|
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"
|
|
}
|
|
}
|