get-scripts view rpix86 @ rev 31

javajre: tiny fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 26 10:44:20 2015 +0100 (2015-01-26)
parents 943b11283717
children 6ca05e6839e1
line source
1 WEB_SITE="http://rpix86.patrickaalto.com/"
2 TARBALL="rpix86.tar.gz"
3 WGET_URL="$WEB_SITE$TARBALL"
4 HOST_ARCH="arm"
5 SHORT_DESC="A PC emulator for the Raspberry Pi computer."
7 wget $WGET_URL
8 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
10 tar xzf $TARBALL
11 VERSION=$(strings rpix86 | sed '/aspberry/!d;s/.*v *//;s/ .*//')
13 chmod +x rpix86
14 mkdir -p $PACKAGE-$VERSION/fs/usr/bin
15 mv rpix86 $PACKAGE-$VERSION/fs/usr/bin
17 set +e