diff options
author | Duncan Bellamy <dunk@denkimushi.com> | 2020-08-29 13:20:53 +0000 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-08-29 17:18:59 +0000 |
commit | b5a7c17019fc957f0ef19fe06959f00780d1d4b0 (patch) | |
tree | d3484cccd2f3cfc69db0501db8d720fdd099c2a3 | |
parent | 121061edfa56f0ab67d4bdb4c3ad58a9cbfd910f (diff) |
testing/glpk: new aport
* fixes #11899
-rw-r--r-- | testing/glpk/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/glpk/APKBUILD b/testing/glpk/APKBUILD new file mode 100644 index 00000000000..a36650cf641 --- /dev/null +++ b/testing/glpk/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Duncan Bellamy <dunk@denkimushi.com> +# Maintainer: Duncan Bellamy <dunk@denkimushi.com> +pkgname=glpk +pkgver=4.65 +pkgrel=0 +pkgdesc="GLPK: For solving linear and mixed integer programming and other problems" +url="https://www.gnu.org/software/glpk/" +arch="all" +license="GPL-3.0-only" +makedepends="gmp-dev" +subpackages="$pkgname-dev" +source="http://ftpmirror.gnu.org/gnu/glpk/glpk-$pkgver.tar.gz" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --with-gmp + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="997e8e599ff1718a08c66b86eadd0e01f4644899f1e95920f8ae91d66b4d8361021766b346845f4dcbcfe667b41ab72ea3d377017a0ebf85d7ece091cfd81375 glpk-4.65.tar.gz" |