get-scripts view rpix86 @ rev 25
jd-gui: no hardcoded version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 19 12:47:36 2014 +0100 (2014-11-19) |
parents | |
children | dd4436ade9f9 |
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 mkdir -p $PACKAGE-$SOURCE/usr/bin
14 mv rpix86 $PACKAGE-$SOURCE/usr/bin
16 set +e