IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=1.2.10 PROGNAME="gtk+ $VERSION" DESC="\ gtk+ (graphical user interface toolkit) \n\ \n\ GTK+, which stands for the Gimp ToolKit, is a library for creating \n\ graphical user interfaces for the X Window System. This library is \n\ needed for GIMP (the GNU Image Manipulation Program), Mozilla, and \n\ many other X programs, including most of the programs from the GNOME \n\ project." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnu.org/pub/gnu/gtk+ PKGNAME=gtk+-$VERSION-s390x-$BUILD TAG=OPT compile() { tar -zxvf $CWD/gtk+-$VERSION.tar.gz cd gtk+-$VERSION/ cp -vp /usr/share/libtool/config.* ./ ./configure --prefix=/usr \ --libdir='${exec_prefix}/lib64' \ --sysconfdir=/etc \ --with-glib-prefix=/usr \ s390x-slackware-linux make -j3 } install() { make install DESTDIR=/package-gtk+ mkdir -p /package-gtk+/usr/doc/gtk+-$VERSION cp -a ABOUT-NLS AUTHORS COPYING HACKING INSTALL NEWS README README.cvs-commits TODO \ /package-gtk+/usr/doc/gtk+-$VERSION ( cd /package-gtk+/usr/info rm -f *.gz gzip -9 * ) ( cd /package-gtk+/usr/man/man1 rm -f *.gz gzip -9 *.1 ) } attributes() { chown -R root.bin $PKG/package-gtk+/usr/bin/ } special() { cd $PKG mv package-gtk+/* ./ rmdir package-gtk+ ( cd usr/lib64 strip -g *.a ) cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-gtk+/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }