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="KDE Utilities $VERSION" DESC="\ kdeutils \n\ \n\ Utilities for the K Desktop Environment. \n\ \n\ Includes: ark (tar/gzip archive manager), kab (address book), karm \n\ (personal time tracker), kcalc (scientific calculator), kedit (simple \n\ text editor), kfloppy (floppy formatting tool), khexedit (hex editor), \n\ kjots (note taker), klipper (clipboard tool), kljettool(HP printer \n\ configuration tool), klpq (print queue manager), knotes (sticky notes \n\ for the desktop), kpm (process manager similar to 'top', but more \n\ advanced), kwrite (improved text editor)." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.kde.org/pub/kde PKGNAME=kdeutils-$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/kdeutils-$VERSION.tar.bz2 cd kdeutils-$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() { cd $TMP/kdeutils-$VERSION/ make install DESTDIR=/package-kdeutils mkdir -p /package-kdeutils/usr/doc/kdeutils-$VERSION cp -a AUTHORS COPYING INSTALL README kdeutils.lsm \ /package-kdeutils/usr/doc/kdeutils-$VERSION } special(){ cd $PKG mv package-kdeutils/* ./ rmdir package-kdeutils/ cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-kdeutils/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }