IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=2.4.0.1 PROGNAME="libwnck $VERSION" DESC="\ libwnck \n\ \n\ The Window Navigator Construction Kit library, used by GNOME for \n\ handling window management tasks." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/libwnck PKGNAME=libwnck-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/libwnck-$VERSION.tar.bz2 cd libwnck-$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 \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install DESTDIR=/package-libwnck mkdir -p /package-libwnck/usr/doc/libwnck-$VERSION cp -a AUTHORS COPYING NEWS README \ /package-libwnck/usr/doc/libwnck-$VERSION } special() { cd $PKG mv package-libwnck/* ./ rmdir package-libwnck cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-libwnck/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }