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="libgnomecanvas $VERSION" DESC="\ libgnomecanvas \n\ \n\ This is the GNOME Canvas Library." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnome.org/pub/gnome/sources/libgnomecanvas/ PKGNAME=libgnomecanvas-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/libgnomecanvas-$VERSION.tar.bz2 cd libgnomecanvas-$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 \ --enable-static=no \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install DESTDIR=/package-libgnomecanvas mkdir -p /package-libgnomecanvas/usr/doc/libgnomecanvas-$VERSION cp -a AUTHORS COPYING* NEWS README \ /package-libgnomecanvas/usr/doc/libgnomecanvas-$VERSION } attributes() { echo chown -R root.bin $PKG/package-libgnomecanvas/usr/bin/ } special() { cd $PKG mv package-libgnomecanvas/* ./ rmdir package-libgnomecanvas cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-libgnomecanvas/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }