summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-04-17 20:41:52 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-22 08:11:10 +0700
commit0a0acef1f0a7fa47f8f3226b33ad0789371f9411 (patch)
tree6c15f6fb6d27c44d0cdfae88e3e413c7ce0f2779
parentb830ceca7c0e2d98088b689b46d3f48a57316a9b (diff)
downloadslackbuilds-0a0acef1f0a7fa47f8f3226b33ad0789371f9411.tar.gz
graphics/jp2a: Updated for version 1.0.7.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--graphics/jp2a/jp2a.SlackBuild7
-rw-r--r--graphics/jp2a/jp2a.info6
2 files changed, 7 insertions, 6 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 \
diff --git a/graphics/jp2a/jp2a.info b/graphics/jp2a/jp2a.info
index 1e769e9296..7e71e2e52b 100644
--- a/graphics/jp2a/jp2a.info
+++ b/graphics/jp2a/jp2a.info
@@ -1,8 +1,8 @@
PRGNAM="jp2a"
-VERSION="1.0.6"
+VERSION="1.0.7"
HOMEPAGE="https://csl.name/jp2a/"
-DOWNLOAD="http://sourceforge.net/projects/jp2a/files/jp2a/1.0.6/jp2a-1.0.6.tar.gz"
-MD5SUM="eb6281eee29acf1c494dcaf7d745a5df"
+DOWNLOAD="https://github.com/cslarsen/jp2a/archive/v1.0.7.tar.gz"
+MD5SUM="7da403ce64bb6630bbb0002655831ab4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""