diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/jmri/jmri.SlackBuild | 14 | ||||
-rw-r--r-- | misc/jmri/jmri.info | 8 |
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" |