get-scripts annotate rpix86 @ rev 29
fix dropbox
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 23 17:28:06 2014 +0100 (2014-11-23) |
parents | 943b11283717 |
children | 6ca05e6839e1 |
rev | line source |
---|---|
pascal@15 | 1 WEB_SITE="http://rpix86.patrickaalto.com/" |
pascal@15 | 2 TARBALL="rpix86.tar.gz" |
pascal@15 | 3 WGET_URL="$WEB_SITE$TARBALL" |
pascal@15 | 4 HOST_ARCH="arm" |
pascal@15 | 5 SHORT_DESC="A PC emulator for the Raspberry Pi computer." |
pascal@15 | 6 |
pascal@15 | 7 wget $WGET_URL |
pascal@15 | 8 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting." |
pascal@15 | 9 |
pascal@15 | 10 tar xzf $TARBALL |
pascal@15 | 11 VERSION=$(strings rpix86 | sed '/aspberry/!d;s/.*v *//;s/ .*//') |
pascal@15 | 12 |
pascal@27 | 13 chmod +x rpix86 |
pascal@27 | 14 mkdir -p $PACKAGE-$VERSION/fs/usr/bin |
pascal@27 | 15 mv rpix86 $PACKAGE-$VERSION/fs/usr/bin |
pascal@15 | 16 |
pascal@15 | 17 set +e |