void-packages/srcpkgs/glpk/template
2017-01-23 20:00:15 +01:00

23 lines
656 B
Bash

# Template file for 'glpk'
pkgname=glpk
version=4.61
revision=1
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"
homepage="http://www.gnu.org/software/glpk/glpk.html"
distfiles="${GNU_SITE}/glpk/${pkgname}-${version}.tar.gz"
checksum=9866de41777782d4ce21da11b88573b66bb7858574f89c28be6967ac22dfaba9
glpk-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}