void-packages/srcpkgs/glpk/template
2017-06-15 14:28:20 +02:00

23 lines
656 B
Bash

# Template file for 'glpk'
pkgname=glpk
version=4.62
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=096e4be3f83878ccf70e1fdb62ad1c178715ef8c0d244254c29e2f9f0c1afa70
glpk-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}