get-scripts view jad @ rev 46

bitcoin, litecoin: add --get-version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 29 14:40:00 2015 +0200 (2015-05-29)
parents 6ca05e6839e1
children 2cdf3e534506
line source
1 SHORT_DESC="A Java Decompiler."
2 WEB_SITE="http://varaneckas.com/jad/"
3 LICENSE="other"
4 # end of get.list data
5 VERSION="1.5.8e"
6 TARBALL="jad"
7 CATEGORY="non-free"
8 WGET_URL="https://github.com/honeynet/apkinspector/raw/master/jad${VERSION//./}.linux.static/$TARBALL"
9 SHORT_DESC="A Java Decompiler."
10 BUILD_DEPENDS="wget"
12 wget -c --no-check-certificate -O $TARBALL $WGET_URL
13 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
15 chmod +x $TARBALL
16 mkdir -p $PACKAGE-$VERSION/fs/usr/bin
17 mv $TARBALL $PACKAGE-$VERSION/fs/usr/bin
19 set +e