aboutsummaryrefslogtreecommitdiff
path: root/misc/jmri
diff options
context:
space:
mode:
authorHeiko Rosemann <heiko.rosemann@web.de>2017-07-27 15:49:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-28 06:11:29 +0700
commit09c70e7b4a44a35216fa3aed02aa3d55b41ca549 (patch)
tree2b5cb05a3260fb65d857d46115b99ba04f81922f /misc/jmri
parenta3bc4f95d7f8c29aecf5a91177026433424eff5c (diff)
misc/jmri: Updated for version 4.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/jmri')
-rw-r--r--misc/jmri/jmri.SlackBuild14
-rw-r--r--misc/jmri/jmri.info8
2 files changed, 14 insertions, 8 deletions
diff --git a/misc/jmri/jmri.SlackBuild b/misc/jmri/jmri.SlackBuild
index 55bc1f42730bd..fd590a40f5e40 100644
--- a/misc/jmri/jmri.SlackBuild
+++ b/misc/jmri/jmri.SlackBuild
@@ -25,10 +25,16 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=jmri
-VERSION=${VERSION:-4.6}
-REVISION=${REVISION:-R81496dc}
+VERSION=${VERSION:-4.8}
+REVISION=${REVISION:-Rbe0ff15}
-ARCH=i586 # some embedded libraries are 32 bit only, see lib/linux/*
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,7 +52,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $TARNAM
-tar xvf $CWD/$TARNAM.$VERSION-$REVISION.tgz
+tar xvf $CWD/$TARNAM.$VERSION.$REVISION.tgz
cd $TARNAM
chown -R root:root .
find -L . \
diff --git a/misc/jmri/jmri.info b/misc/jmri/jmri.info
index c0d558feca692..68d6bd029e711 100644
--- a/misc/jmri/jmri.info
+++ b/misc/jmri/jmri.info
@@ -1,9 +1,9 @@
PRGNAM="jmri"
-VERSION="4.6"
+VERSION="4.8"
HOMEPAGE="http://jmri.org/"
-DOWNLOAD="http://downloads.sourceforge.net/jmri/JMRI.4.6-R81496dc.tgz"
-MD5SUM="d5edd9a7cd1e32b73d1ac4a8b53fe23b"
-DOWNLOAD_x86_64="UNSUPPORTED"
+DOWNLOAD="https://github.com/JMRI/JMRI/releases/download/v4.8/JMRI.4.8.Rbe0ff15.tgz"
+MD5SUM="4e7baed77060b0766e6b869c2094777f"
+DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heiko Rosemann"