get-scripts rev 15
Add rpix86
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 01 08:52:42 2014 +0000 (2014-05-01) |
parents | 6f78b169953f |
children | ca290394cc08 |
files | rpix86 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rpix86 Thu May 01 08:52:42 2014 +0000 1.3 @@ -0,0 +1,16 @@ 1.4 +WEB_SITE="http://rpix86.patrickaalto.com/" 1.5 +TARBALL="rpix86.tar.gz" 1.6 +WGET_URL="$WEB_SITE$TARBALL" 1.7 +HOST_ARCH="arm" 1.8 +SHORT_DESC="A PC emulator for the Raspberry Pi computer." 1.9 + 1.10 +wget $WGET_URL 1.11 +[ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting." 1.12 + 1.13 +tar xzf $TARBALL 1.14 +VERSION=$(strings rpix86 | sed '/aspberry/!d;s/.*v *//;s/ .*//') 1.15 + 1.16 +mkdir -p $PACKAGE-$SOURCE/usr/bin 1.17 +mv rpix86 $PACKAGE-$SOURCE/usr/bin 1.18 + 1.19 +set +e