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 Toys $VERSION" DESC="\ kdetoys \n\ \n\ Some toys for use with KDE such as kmoon (displays various phases of \n\ the moon), kworldwatch (displays where in the world it is light and \n\ dark depending on time), kodo (a mouse odometer which shows how far \n\ your mouse has traveled), and kteatime (alerts you when your tea is \n\ ready)." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.kde.org/pub/kde PKGNAME=kdetoys-$VERSION-s390-$BUILD TAG=OPT compile() { tar -xvyf $CWD/kdetoys-$VERSION.tar.bz2 cd kdetoys-$VERSION/ chown -R root.root . ./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-kdetoys mkdir -p /package-kdetoys/usr/doc/kdetoys-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL README \ /package-kdetoys/usr/doc/kdetoys-$VERSION } special() { cd $PKG mv package-kdetoys/* ./ rmdir package-kdetoys cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-kdetoys/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }