IGNOREPATH=/home:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=2.6.1 SRCVIEW=1.0.1 PROGNAME="gEdit $VERSION" DESC="\ gedit \n\ \n\ gEdit is a small but powerful text editor designed for GNOME. It \n\ includes such features as split-screen mode, a plugin API, which \n\ allows gEdit to be extended to support many features while remaining \n\ small at its core, multiple document editing through the use of a \n\ 'tabbed' notebook and many more functions." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnome.org/pub/gnome/sources/gedit/ PKGNAME=gedit-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/gtksourceview-$SRCVIEW.tar.bz2 cd gtksourceview-$SRCVIEW/ chown -R root.root . find . -perm 666 -exec chmod 644 {} \; find . -perm 664 -exec chmod 644 {} \; CFLAGS=-O2 \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --enable-static=no \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install mkdir -p /usr/doc/gtksourceview-$SRCVIEW cp -a AUTHORS COPYING HACKING MAINTAINERS NEWS README TODO \ /usr/doc/gtksourceview-$SRCVIEW cd $TMP/ tar -yxvf $CWD/gedit-$VERSION.tar.bz2 cd gedit-$VERSION/ chown -R root.root . find . -perm 666 -exec chmod 644 {} \; find . -perm 664 -exec chmod 644 {} \; CFLAGS=-O2 \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --enable-static=no \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make make install mkdir -p /usr/doc/gedit-$VERSION cp -a AUTHORS BUGS COPYING NEWS README THANKS TODO \ /usr/doc/gedit-$VERSION ( cd /usr/man/man1 gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/usr/bin/ find $PKG/etc/gconf -name %gconf.xml | xargs chmod 644 } special() { cd $PKG cd $CTL cat $CWD/slack-desc > slack-desc zcat $CWD/doinst.sh.gz >> doinst.sh }