get-scripts view jd-gui @ rev 56
Update wifi firmware scripts (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 23 17:50:46 2016 +0200 (2016-04-23) |
parents | e27db4d5e5b8 |
children | 62d94e6800db |
line source
1 SHORT_DESC="Yet another fast Java decompiler."
2 WEB_SITE="http://jd.benow.ca/"
3 # end of get.list data
4 WGET_URL="$(wget -O - $WEB_SITE | sed "/linux.i686/!d;s/.*href=.\([^'\"]*\).*/\1/")"
5 TARBALL="$(basename $WGET_URL)"
7 wget -O $TARBALL $WGET_URL
8 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
10 tar xzf $TARBALL
11 VERSION="$(echo $TARBALL | sed 's/.*-\(.*\).linux.*/\1/')"
12 mkdir -p $PACKAGE-$VERSION/fs/usr/bin
13 mv $PACKAGE $PACKAGE-$VERSION/fs/usr/bin