summaryrefslogtreecommitdiff
path: root/academic/glpk/glpk.SlackBuild
diff options
context:
space:
mode:
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 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 <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