void-packages/srcpkgs/glpk/template
2021-04-14 19:44:00 +00:00

23 lines
666 B
Bash

# Template file for 'glpk'
pkgname=glpk
version=5.0
revision=2
build_style=gnu-configure
configure_args="--with-gmp"
makedepends="gmp-devel"
short_desc="GNU Linear Programming Kit to solve LP, MIP and other problems"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/glpk/glpk.html"
distfiles="${GNU_SITE}/glpk/${pkgname}-${version}.tar.gz"
checksum=4a1013eebb50f728fc601bdd833b0b2870333c3b3e5a816eeba921d95bec6f15
glpk-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}