From 6c0660fe768c4f63b18ac173635b01252b9f3c53 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 14 May 2016 23:29:46 +0200 Subject: [PATCH] New package: glpk-4.60 --- common/shlibs | 1 + srcpkgs/glpk-devel | 1 + srcpkgs/glpk/template | 23 +++++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 120000 srcpkgs/glpk-devel create mode 100644 srcpkgs/glpk/template diff --git a/common/shlibs b/common/shlibs index ace4c04d240..f3bdefe8894 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2446,3 +2446,4 @@ libsignon-plugins-common.so.1 signond-8.58_1 libsignon-extension.so.1 signond-8.58_1 libj4status-plugin.so.0 j4status-0.1_1 libvirglrenderer.so.0 virglrenderer-0.5.0_1 +libglpk.so.40 glpk-4.60_1 diff --git a/srcpkgs/glpk-devel b/srcpkgs/glpk-devel new file mode 120000 index 00000000000..cac354a5542 --- /dev/null +++ b/srcpkgs/glpk-devel @@ -0,0 +1 @@ +glpk \ No newline at end of file diff --git a/srcpkgs/glpk/template b/srcpkgs/glpk/template new file mode 100644 index 00000000000..983a701773f --- /dev/null +++ b/srcpkgs/glpk/template @@ -0,0 +1,23 @@ +# Template file for 'glpk' +pkgname=glpk +version=4.60 +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="Christian Neukirchen " +license="GPL-3" +homepage="http://www.gnu.org/software/glpk/glpk.html" +distfiles="${GNU_SITE}/glpk/${pkgname}-${version}.tar.gz" +checksum=1356620cb0a0d33ac3411dd49d9fd40d53ece73eaec8f6b8d19a77887ff5e297 + +glpk-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + } +}