academic/glpk: Updated for version 4.55.

Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
Ryan P.C. McQuen 2015-04-06 15:43:42 -07:00 committed by Willy Sudiarto Raharjo
parent 4a086bc5d9
commit 081514ca22
2 changed files with 8 additions and 7 deletions

View file

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

View file

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