aboutsummaryrefslogtreecommitdiff
path: root/academic/glpk/glpk.SlackBuild
diff options
context:
space:
mode:
authorChris Abela <chris.abela@maltats.com>2010-07-31 21:31:12 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-31 21:31:12 -0500
commit42c8f54dd71b8ca5d29abf4631a1b63a41ae3eaa (patch)
treee2966a85ad36b7fa2bd67734382b276d5fe61aff /academic/glpk/glpk.SlackBuild
parenteba9e154418d3186aefb5a4595b7bf900103c4d3 (diff)
academic/glpk: Updated for version 4.44.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'academic/glpk/glpk.SlackBuild')
-rw-r--r--academic/glpk/glpk.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/academic/glpk/glpk.SlackBuild b/academic/glpk/glpk.SlackBuild
index ed09ce907970..d27def5cfd3e 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 <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