CWD=`pwd` cd /tmp VERSION=4.05 if [ -r /usr/lib/libgnome.so ]; then echo "HEY, you're building the GNOME-free version, right? ;-)" read foo fi tar xzvf $CWD/xscreensaver-$VERSION.tar.gz cd xscreensaver-$VERSION xml_config=/usr/bin/xml-config xml2_config=/usr/bin/xml2-config \ CFLAGS="-O2 -march=i386 -mcpu=i686" \ CXXFLAGS="-O2 -march=i386 -mcpu=i686" \ ./configure --prefix=/usr/X11R6 \ --with-gtk \ --with-shadow \ --with-gl \ i386-slackware-linux # I'm using -i for full gettext compatibility (tm). make -i make -i install mkdir -p /usr/doc/xscreensaver-$VERSION cp -a README README.debugging /usr/doc/xscreensaver-$VERSION chown -R root.root /usr/doc/xscreensaver-$VERSION mkdir -p /install cat $CWD/slack-desc > /install/slack-desc