IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=2.6.1.1 PROGNAME="libgnomeui $VERSION" DESC="\ libgnomeui \n\ \n\ User interface library needed for GNOME." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnome.org/pub/gnome/sources/libgnomeui/ PKGNAME=libgnomeui-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/libgnomeui-$VERSION.tar.bz2 cd libgnomeui-$VERSION/ chown -R root.root . find . -perm 777 -exec chmod 755 {} \; find . -perm 664 -exec chmod 644 {} \; CFLAGS=-O2 \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --enable-static=no \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install prefix=/package-libgnomeui/usr mkdir -p /package-libgnomeui/usr/doc/libgnomeui-$VERSION cp -a AUTHORS COPYING COPYING.LIB NEWS README \ /package-libgnomeui/usr/doc/libgnomeui-$VERSION } special() { cd $PKG mv package-libgnomeui/* ./ rmdir package-libgnomeui cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-libgnomeui/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }