summaryrefslogtreecommitdiff
path: root/academic/galculator/galculator.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-16 03:45:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-16 12:23:28 +0700
commitfee1d410263fb7af4c225c35d22b97e6bb6eac79 (patch)
tree846bb229dbafc96a907a4305168bfd785cb70e80 /academic/galculator/galculator.SlackBuild
parent946d7e3d236f311052afb1fe7a88f5ad4d0c1437 (diff)
downloadslackbuilds-fee1d410263fb7af4c225c35d22b97e6bb6eac79.tar.gz
academic/galculator: Updated for version 2.1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/galculator/galculator.SlackBuild')
-rw-r--r--academic/galculator/galculator.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/academic/galculator/galculator.SlackBuild b/academic/galculator/galculator.SlackBuild
index 6a35ff15a2..5eab3e17a3 100644
--- a/academic/galculator/galculator.SlackBuild
+++ b/academic/galculator/galculator.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for galculator
# Copyright 2008, 2009 Frank Caraballo <fecaraballo{at}gmail{dot}com>
-# Copyright 2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=galculator
-VERSION=${VERSION:-2.1.3}
+VERSION=${VERSION:-2.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,10 +70,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-LDFLAGS+=' -lm' \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+./autogen.sh \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \