summaryrefslogtreecommitdiffstats
path: root/graphics/jp2a/jp2a.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/jp2a/jp2a.SlackBuild')
-rw-r--r--graphics/jp2a/jp2a.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/jp2a/jp2a.SlackBuild b/graphics/jp2a/jp2a.SlackBuild
index d5f07a5c9b..dbe19950c7 100644
--- a/graphics/jp2a/jp2a.SlackBuild
+++ b/graphics/jp2a/jp2a.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jp2a
-# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=jp2a
-VERSION=${VERSION:-1.0.6}
+VERSION=${VERSION:-1.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,6 +69,7 @@ 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 {} \;
+autoreconf -vi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \