get-scripts diff gcc272 @ rev 31

javajre: tiny fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 26 10:44:20 2015 +0100 (2015-01-26)
parents
children 6ca05e6839e1
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gcc272	Mon Jan 26 10:44:20 2015 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +WEB_SITE="http://www.gnu.org/s/gcc"
     1.5 +VERSION=2.7.2.3-19
     1.6 +LICENSE="GPL2"
     1.7 +TARBALL=gcc272_${VERSION}_i386.deb
     1.8 +WGET_URL=http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc272/$TARBALL
     1.9 +DEPENDS="binutils"
    1.10 +
    1.11 +wget $WGET_URL
    1.12 +[ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
    1.13 +
    1.14 +mkdir $PACKAGE
    1.15 +dpkg-deb -e $TARBALL $PACKAGE/meta
    1.16 +dpkg-deb -x $TARBALL $PACKAGE/fs
    1.17 +# extracted pkg can be removed: Save RAM
    1.18 +rm -f $TARBALL
    1.19 +sed '/^Description:/,$!d;s/^Description://' \
    1.20 +	< $PACKAGE/meta/control > $PACKAGE/description.txt
    1.21 +
    1.22 +SHORT_DESC="$(sed '/^Description:/!d;s/.*: //' $PACKAGE/meta/control)"
    1.23 +MAINTAINER="$(sed '/^Maintainer:/!d;s/.*: //' $PACKAGE/meta/control)"
    1.24 +#VERSION="$(sed '/^Version:/!d;s/.*: //' $PACKAGE/meta/control)"
    1.25 +mv $PACKAGE $PACKAGE-$VERSION
    1.26 +
    1.27 +# Remove unwanted files
    1.28 +rm -rf $PACKAGE-$VERSION/fs/usr/share
    1.29 +set +e