diff options
author | Heiko Rosemann <heiko.rosemann@web.de> | 2017-07-27 15:49:55 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-28 06:11:29 +0700 |
commit | 09c70e7b4a44a35216fa3aed02aa3d55b41ca549 (patch) | |
tree | 2b5cb05a3260fb65d857d46115b99ba04f81922f /misc/jmri/jmri.SlackBuild | |
parent | a3bc4f95d7f8c29aecf5a91177026433424eff5c (diff) |
misc/jmri: Updated for version 4.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/jmri/jmri.SlackBuild')
-rw-r--r-- | misc/jmri/jmri.SlackBuild | 14 |
1 files changed, 10 insertions, 4 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 . \ |