IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=`grep VERSION= ../KDE.options | cut -f 2- -d =` PROGNAME="quanta $VERSION" DESC="\ quanta \n\ \n\ Quanta Plus is a web development environment for HTML and associate \n\ languages. It is designed for quick web development and is rapidly \n\ becoming a mature editor with a number of great features. Quanta \n\ already has a good deal of PHP support in it including the ability to \n\ run a debugger. \n\ \n\ Quanta Plus is not in any way affiliated with any commercial versions \n\ of Quanta. The primary coders from the original team left the GPL'd \n\ version to produce a commercial product." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/quanta PKGNAME=quanta-$VERSION-s390-$BUILD TAG=OPT compile() { # Avoid a version number in .la files: if [ -d /usr/lib/qt ]; then QTDIR=/usr/lib/qt fi tar -yxvf $CWD/quanta-$VERSION.tar.bz2 cd quanta-$VERSION/ chown -R root.root . CFLAGS=-O2 CXXFLAGS=-O2 \ ./configure --prefix=/opt/kde \ --with-xinerama \ --disable-debug \ --program-prefix="" --program-suffix="" \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install DESTDIR=/package-quanta mkdir -p /package-quanta/usr/doc/quanta-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL README \ /package-quanta/usr/doc/quanta-$VERSION } special() { cd $PKG mv package-quanta/* ./ rmdir package-quanta cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-quanta/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }