#!/bin/sh CWD=`pwd` VERSION=1.0.7 cd /tmp tar xjvf $CWD/gnumeric-$VERSION.tar.bz2 cd gnumeric-$VERSION chown -R root.root . find . -perm 775 -exec chmod 755 {} \; find . -perm 777 -exec chmod 755 {} \; find . -perm 664 -exec chmod 644 {} \; # Turn off guile support, since it wants an unreleased # version that breaks everything else CFLAGS="-O2 -march=i386 -mcpu=i686" ./configure --prefix=/usr \ --localstatedir=/var/lib \ --without-guile \ i386-slackware-linux make make install mkdir -p /usr/doc/gnumeric-$VERSION cp -a ABOUT-NLS AUTHORS BUGS COPYING ChangeLog HACKING INSTALL MAINTAINERS NEWS \ README TODO /usr/doc/gnumeric-$VERSION chown -R root.root /usr/doc/gnumeric-$VERSION chmod 644 /usr/doc/gnumeric-$VERSION/* mkdir -p /install cat $CWD/slack-desc > /install/slack-desc cat << EOF Check against python.tgz and make sure there are no repeated files. I've been checking by size and strings content, because I think you get a random checksum whenever you regenerate these. EOF