get-scripts view cpp2 @ rev 44

opera: fix non-us layout error, again
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat May 23 13:48:59 2015 +0300 (2015-05-23)
parents 138433e8cb19
children 5d357cb2f906
line source
1 SHORT_DESC="GNU ccp version 2"
2 WEB_SITE="http://www.gnu.org/s/gcc/gcc-2.95"
3 CATEGORY="development"
4 VERSION="2.95.4-24"
5 LICENSE="GPL2"
6 # end of get.list data
7 TARBALL=cpp-2.95_${VERSION}_i386.deb
8 WGET_URL=http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-2.95/$TARBALL
10 wget $WGET_URL
11 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
13 mkdir $PACKAGE
14 dpkg-deb -e $TARBALL $PACKAGE/meta
15 dpkg-deb -x $TARBALL $PACKAGE/fs
16 # extracted pkg can be removed: Save RAM
17 rm -f $TARBALL
18 sed '/^Description:/,$!d;s/^Description://' \
19 < $PACKAGE/meta/control > $PACKAGE/description.txt
21 SHORT_DESC="$(sed '/^Description:/!d;s/.*: //' $PACKAGE/meta/control)"
22 MAINTAINER="$(sed '/^Maintainer:/!d;s/.*: //' $PACKAGE/meta/control)"
23 #VERSION="$(sed '/^Version:/!d;s/.*: //' $PACKAGE/meta/control)"
24 mv $PACKAGE $PACKAGE-$VERSION
25 ln -s cpp-2.95 $PACKAGE-$VERSION/fs/usr/bin/cpp-2
27 # Remove unwanted files
28 rm -rf $PACKAGE-$VERSION/fs/usr/share
29 set +e