get-scripts view 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
line source
1 WEB_SITE="http://www.geogebra.org/cms/en/"
2 DEPENDS="bash java-jre ncurses"
3 URL=http://www.geogebra.org/installers/deb.php
4 TARBALL=geogebra.deb
6 wget -O $TARBALL $URL
8 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
10 mkdir $PACKAGE
11 dpkg-deb -e $TARBALL $PACKAGE/meta
12 dpkg-deb -x $TARBALL $PACKAGE/fs
13 # extracted pkg can be removed: Save RAM
14 rm -f $TARBALL
15 sed '/^Description:/,$!d;s/^Description://' \
16 < $PACKAGE/meta/control > $PACKAGE/description.txt
18 SHORT_DESC="$(sed '/^Description:/!d;s/.*: //' $PACKAGE/meta/control)"
19 MAINTAINER="$(sed '/^Maintainer:/!d;s/.*: //' $PACKAGE/meta/control)"
20 VERSION="$(sed '/^Version:/!d;s/.*: //' $PACKAGE/meta/control)"
21 TARBALL=${PACKAGE}_$VERSION.deb
22 mv $PACKAGE $PACKAGE-$VERSION
24 set +e