From 42c8f54dd71b8ca5d29abf4631a1b63a41ae3eaa Mon Sep 17 00:00:00 2001 From: Chris Abela Date: Sat, 31 Jul 2010 21:31:12 -0500 Subject: [PATCH] academic/glpk: Updated for version 4.44. Signed-off-by: Erik Hanson --- academic/glpk/glpk.SlackBuild | 14 ++++++-------- academic/glpk/glpk.info | 6 +++--- academic/glpk/slack-desc | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/academic/glpk/glpk.SlackBuild b/academic/glpk/glpk.SlackBuild index ed09ce9079..d27def5cfd 100644 --- a/academic/glpk/glpk.SlackBuild +++ b/academic/glpk/glpk.SlackBuild @@ -1,19 +1,17 @@ #!/bin/sh # Slackware build script for glpk # Written by Chris Abela -# September 2009 +# 20100717 -PRGNAM=glpk -VERSION=${VERSION:-4.40} +PRGNAM=glpk +VERSION=${VERSION:-4.44} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -37,7 +35,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -71,7 +69,7 @@ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS doc/* examples \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# A file in the $PKG/usr/doc/$PRGNAM-$VERSION can be stripped, +# A file in the $PKG/usr/doc/$PRGNAM-$VERSION can be stripped, # so we strip here, rather than immediately after make install. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/academic/glpk/glpk.info b/academic/glpk/glpk.info index 640e828f66..350aee5c4e 100644 --- a/academic/glpk/glpk.info +++ b/academic/glpk/glpk.info @@ -1,8 +1,8 @@ PRGNAM="glpk" -VERSION="4.40" +VERSION="4.44" HOMEPAGE="http://www.gnu.org/software/glpk/" -DOWNLOAD="ftp://ftp.gnu.org/gnu/glpk/glpk-4.40.tar.gz" -MD5SUM="73821dae9c52905f012ce1b501f59b66" +DOWNLOAD="ftp://ftp.gnu.org/gnu/glpk/glpk-4.44.tar.gz" +MD5SUM="f2ac7013bc0420d730d052e7ba24bdb1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Chris Abela" diff --git a/academic/glpk/slack-desc b/academic/glpk/slack-desc index 78f2b570e3..16c9f67f30 100644 --- a/academic/glpk/slack-desc +++ b/academic/glpk/slack-desc @@ -15,5 +15,5 @@ glpk: callable library. glpk: glpk: GLPK supports the GNU MathProg language, which is a subset of the AMPL glpk: language. -glpk: Homepage: http://www.gnu.org/software/glpk/ glpk: +glpk: Homepage: http://www.gnu.org/software/glpk/