get-scripts annotate geogebra @ rev 11
add flash-plugin
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 15 13:43:05 2014 +0000 (2014-04-15) |
parents | 2532cbc29d1e |
children | 552ec1a3614c |
rev | line source |
---|---|
pascal@10 | 1 WEB_SITE="http://www.geogebra.org/cms/en/" |
pascal@10 | 2 DEPENDS="bash java-jre ncurses" |
pascal@10 | 3 URL=http://www.geogebra.org/installers/deb.php |
pascal@10 | 4 TARBALL=geogebra.deb |
pascal@10 | 5 |
pascal@10 | 6 wget -O $TARBALL $URL |
pascal@10 | 7 |
pascal@10 | 8 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting." |
pascal@10 | 9 |
pascal@10 | 10 mkdir $PACKAGE |
pascal@10 | 11 dpkg-deb -e $TARBALL $PACKAGE/meta |
pascal@10 | 12 dpkg-deb -x $TARBALL $PACKAGE/fs |
pascal@10 | 13 # extracted pkg can be removed: Save RAM |
pascal@10 | 14 rm -f $TARBALL |
pascal@10 | 15 sed '/^Description:/,$!d;s/^Description://' \ |
pascal@10 | 16 < $PACKAGE/meta/control > $PACKAGE/description.txt |
pascal@10 | 17 |
pascal@10 | 18 SHORT_DESC="$(sed '/^Description:/!d;s/.*: //' $PACKAGE/meta/control)" |
pascal@10 | 19 MAINTAINER="$(sed '/^Maintainer:/!d;s/.*: //' $PACKAGE/meta/control)" |
pascal@10 | 20 VERSION="$(sed '/^Version:/!d;s/.*: //' $PACKAGE/meta/control)" |
pascal@11 | 21 TARBALL=${PACKAGE}_$VERSION.deb |
pascal@10 | 22 mv $PACKAGE $PACKAGE-$VERSION |
pascal@10 | 23 |
pascal@10 | 24 set +e |