aboutsummaryrefslogtreecommitdiff
path: root/academic/glpk/glpk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/glpk/glpk.SlackBuild')
-rw-r--r--academic/glpk/glpk.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/academic/glpk/glpk.SlackBuild b/academic/glpk/glpk.SlackBuild
index 09012fb76b152..e378d6d194173 100644
--- a/academic/glpk/glpk.SlackBuild
+++ b/academic/glpk/glpk.SlackBuild
@@ -1,8 +1,9 @@
#!/bin/sh
# Slackware build script for glpk
+# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
+
# Copyright 2011, 2013 Chris Abela, Malta
-# Copyright 2014 Ryan P.C. McQuen, ryan.q@linux.com, WA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=glpk
-VERSION=${VERSION:-4.54}
+VERSION=${VERSION:-4.55}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,7 +68,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
LDFLAGS="$SLKCFLAGS" \
@@ -91,7 +92,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# 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 \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/install