get-scripts annotate rpix86 @ rev 34
Add sublime-text-3
| author | Pascal Bellard <pascal.bellard@slitaz.org> |
|---|---|
| date | Mon Mar 23 08:59:52 2015 +0100 (2015-03-23) |
| parents | dd4436ade9f9 |
| children | 2cdf3e534506 |
| rev | line source |
|---|---|
| pascal@34 | 1 SHORT_DESC="A PC emulator for the Raspberry Pi computer." |
| pascal@15 | 2 WEB_SITE="http://rpix86.patrickaalto.com/" |
| pascal@34 | 3 # end of get.list data |
| pascal@15 | 4 TARBALL="rpix86.tar.gz" |
| pascal@15 | 5 WGET_URL="$WEB_SITE$TARBALL" |
| pascal@15 | 6 HOST_ARCH="arm" |
| pascal@15 | 7 |
| pascal@15 | 8 wget $WGET_URL |
| pascal@15 | 9 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting." |
| pascal@15 | 10 |
| pascal@15 | 11 tar xzf $TARBALL |
| pascal@15 | 12 VERSION=$(strings rpix86 | sed '/aspberry/!d;s/.*v *//;s/ .*//') |
| pascal@15 | 13 |
| pascal@27 | 14 chmod +x rpix86 |
| pascal@27 | 15 mkdir -p $PACKAGE-$VERSION/fs/usr/bin |
| pascal@27 | 16 mv rpix86 $PACKAGE-$VERSION/fs/usr/bin |
| pascal@15 | 17 |
| pascal@15 | 18 set +e |