IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=2.4.0 PROGNAME="gconf-editor $VERSION" DESC="\ gconf-editor \n\ \n\ A GNOME utility for manually editing the GConf configuration \n\ database." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/gconf-editor PKGNAME=gconf-editor-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/gconf-editor-$VERSION.tar.bz2 cd gconf-editor-$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-gconf-editor mkdir -p /package-gconf-editor/usr/doc/gconf-editor-$VERSION cp -a AUTHORS COPYING NEWS README \ /package-gconf-editor/usr/doc/gconf-editor-$VERSION } attributes() { chown -R root.bin $PKG/package-gconf-editor/usr/bin/ } special() { cd $PKG mv package-gconf-editor/* ./ rmdir package-gconf-editor cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-gconf-editor/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }