Skip to content

Commit

Permalink
academic/glpk: Updated for version 4.55.
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
  • Loading branch information
Ryan P.C. McQuen authored and willysr committed Apr 12, 2015
1 parent 4a086bc commit 081514c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions 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
Expand All @@ -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}

Expand Down Expand Up @@ -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" \
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions academic/glpk/glpk.info
@@ -1,8 +1,8 @@
PRGNAM="glpk"
VERSION="4.54"
VERSION="4.55"
HOMEPAGE="http://www.gnu.org/software/glpk/"
DOWNLOAD="http://ftp.gnu.org/gnu/glpk/glpk-4.54.tar.gz"
MD5SUM="7248e565689837d4e1e44f275e4e9c59"
DOWNLOAD="http://ftp.gnu.org/gnu/glpk/glpk-4.55.tar.gz"
MD5SUM="c632a7a631b8aed02e28eafcd99477f7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
Expand Down

0 comments on commit 081514c

Please sign in to comment.