get-scripts view rpix86 @ rev 27
apk-studio, jad, jd-gui, rpix86: fix path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 20 16:02:03 2014 +0100 (2014-11-20) |
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