get-scripts view gcc272 @ rev 43

opera: fix non-us layout "XOpenIM failed. This may prevent you from being able to type" error
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri May 22 02:17:42 2015 +0300 (2015-05-22)
parents 6ca05e6839e1
children 5d357cb2f906
line source
1 SHORT_DESC="GNU C compiler version 2.7.2"
2 WEB_SITE="http://www.gnu.org/s/gcc"
3 CATEGORY="development"
4 VERSION="2.7.2.3-19"
5 LICENSE="GPL2"
6 # end of get.list data
7 TARBALL=gcc272_${VERSION}_i386.deb
8 WGET_URL=http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc272/$TARBALL
9 DEPENDS="binutils"
11 wget $WGET_URL
12 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
14 mkdir $PACKAGE
15 dpkg-deb -e $TARBALL $PACKAGE/meta
16 dpkg-deb -x $TARBALL $PACKAGE/fs
17 # extracted pkg can be removed: Save RAM
18 rm -f $TARBALL
19 sed '/^Description:/,$!d;s/^Description://' \
20 < $PACKAGE/meta/control > $PACKAGE/description.txt
22 SHORT_DESC="$(sed '/^Description:/!d;s/.*: //' $PACKAGE/meta/control)"
23 MAINTAINER="$(sed '/^Maintainer:/!d;s/.*: //' $PACKAGE/meta/control)"
24 #VERSION="$(sed '/^Version:/!d;s/.*: //' $PACKAGE/meta/control)"
25 mv $PACKAGE $PACKAGE-$VERSION
27 # Remove unwanted files
28 rm -rf $PACKAGE-$VERSION/fs/usr/share
29 set +e