academic/grace: Updated for 5.1.23.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2013-11-05 14:58:39 +07:00 committed by Robby Workman
parent 15853572ac
commit 2a455e6835
2 changed files with 9 additions and 8 deletions

View File

@ -5,16 +5,14 @@
# Substantially modified by Robby Workman <rworkman@slackware.com>
PRGNAM=grace
VERSION=5.1.22
VERSION=${VERSION:-5.1.23}
BUILD=${BUILD:-1}
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
@ -47,7 +45,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
find -L . \
\( -perm 777 -o -perm 775 -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 {} \;
# Apply some miscellaneous fixup patches
patch -p0 < $CWD/patches/xmgrace-null.patch
@ -72,7 +74,6 @@ CFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--enable-grace-home=/usr/lib${LIBDIRSUFFIX}/xmgrace \
--with-x \
--with-netcdf \
--with-printcmd="lpr" \
--with-helpviewer="firefox %s" \
--build=$ARCH-slackware-linux

View File

@ -1,8 +1,8 @@
PRGNAM="grace"
VERSION="5.1.22"
VERSION="5.1.23"
HOMEPAGE="http://plasma-gate.weizmann.ac.il/Grace/"
DOWNLOAD="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/grace-5.1.22.tar.gz"
MD5SUM="672356466f18fe59ed21a8fb44f9851d"
DOWNLOAD="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/grace-5.1.23.tar.gz"
MD5SUM="e2b28ebe31288952d899fbb5c97858ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="netcdf"