IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=0.9.6pre1 PROGNAME="fluxbox $VERSION" DESC="\ fluxbox (Fluxbox window manager) \n\ \n\ Fluxbox is yet another windowmanager for X that is based on the \n\ Blackbox 0.61.1 code but with many new features." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/fluxbox PKGNAME=fluxbox-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/fluxbox-$VERSION.tar.bz2 cd fluxbox-$VERSION/ chown -R root.root cat $CWD/fbrun.cc.diff | patch -p1 --backup --suffix=.orig CXXFLAGS=-O2 CFLAGS=-O2 \ ./configure --prefix=/usr/X11R6 \ --enable-xinerama \ --enable-shape \ --enable-slit \ --enable-interlace \ --enable-nls \ --enable-timed-cache \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make -i } install() { make install DESTDIR=/package-fluxbox mkdir -p /package-fluxbox/usr/doc/fluxbox-$VERSION cp -a AUTHORS ChangeLog INSTALL COPYING README* TODO \ /package-fluxbox/usr/doc/fluxbox-$VERSION ( cd /package-fluxbox/usr/X11R6/man/man1/ rm -f *.gz gzip -9 *.1 ) mkdir -p /package-fluxbox/etc/X11/xinit zcat $CWD/xinitrc.fluxbox.gz > /package-fluxbox/etc/X11/xinit/xinitrc.fluxbox } attributes() { chown -R root.bin $PKG/package-fluxbox/usr/X11R6/bin chmod 755 $PKG/package-fluxbox/etc/X11/xinit/xinitrc.fluxbox } special() { cd $PKG mv package-fluxbox/* ./ rmdir package-fluxbox cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-fluxbox/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }