#!/bin/sh CWD=`pwd` VERSION=1.4.1.2 cd /tmp tar xjvf $CWD/gnome-utils-$VERSION.tar.bz2 cd gnome-utils-$VERSION chown -R root.root . find . -perm 664 -exec chmod 644 {} \; CFLAGS="-O2 -march=i386 -mcpu=i686" \ CXXFLAGS="-O2 -march=i386 -mcpu=i686" \ ./configure --prefix=/usr \ --with-ncurses=/usr \ --localstatedir=/var/lib \ --program-prefix="" --program-suffix="" \ i386-slackware-linux make make install mkdir -p /usr/doc/gnome-utils-$VERSION cp -a ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README THANKS /usr/doc/gnome-utils-$VERSION chmod 644 /usr/doc/gnome-utils-$VERSION/* mkdir -p /install cat $CWD/../scrollkeeper/doinst.sh > /install/slack-desc cat $CWD/slack-desc > /install/slack-desc cat << EOF If CFLAGS=-O2 doesn't seem to "take", don't waste time on trying to figure out why, just strip it. EOF