IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=2.6.0.1 PROGNAME="gnome2-user-docs $VERSION" DESC="\ gnome2-user-docs \n\ \n\ This package contains the GNOME User's Guide and other general GNOME \n\ documentation." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnome.org/pub/gnome/sources/gnome2-user-docs/ PKGNAME=gnome2-user-docs-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/gnome2-user-docs-$VERSION.tar.bz2 cd gnome2-user-docs-$VERSION/ chown -R root.root . find . -perm 666 -exec chmod 644 {} \; find . -perm 664 -exec chmod 644 {} \; ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib make } install() { make install DESTDIR=/package-gnome2-user-docs mkdir -p /package-gnome2-user-docs/usr/doc/gnome2-user-docs-$VERSION cp -a AUTHORS COPYING COPYING-DOCS NEWS README \ /package-gnome2-user-docs/usr/doc/gnome2-user-docs-$VERSION mkdir -p /package-gnome2-user-docs/var/lib/scrollkeeper/ } special() { cd $PKG mv package-gnome2-user-docs/* ./ rmdir package-gnome2-user-docs cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-gnome2-user-docs/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new zcat $CWD/doinst.sh.gz >> doinst.sh }