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