get-scripts view nanozip @ rev 63

Add nanozip
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 10 14:15:08 2016 +0200 (2016-08-10)
parents
children 65ed4f4d5384
line source
1 SHORT_DESC="An experimental file archiver software."
2 WEB_SITE="http://nanozip.net/"
3 # end of get.list data
4 WGET_URL="$WEB_SITE$(wget -O - $WEB_SITE | \
5 sed '/linux32/!d;s/.*href="*\([^>"]*\).*/\1/;q')"
6 TARBALL="$(basename $WGET_URL)"
7 VERSION="$(echo $TARBALL | sed 's/.*-\(.*\).linux32.*/\1/')"
9 wget $WGET_URL
10 unzip $TARBALL
11 mkdir -p $PACKAGE-$VERSION/fs/usr/bin
12 mv nz $PACKAGE-$VERSION/fs/usr/bin