academic/glpk: Updated for version 4.44.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Chris Abela 2010-07-31 21:31:12 -05:00 committed by Erik Hanson
parent eba9e15441
commit 42c8f54dd7
3 changed files with 10 additions and 12 deletions

View file

@ -1,19 +1,17 @@
#!/bin/sh
# Slackware build script for glpk
# Written by Chris Abela <chris.abela@maltats.com>
# 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

View file

@ -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"

View file

@ -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/