#!/bin/sh
CWD=`pwd` 
VERSION=1.4.2
cd /tmp
tar xjvf $CWD/gnome-python-$VERSION.tar.bz2
cd gnome-python-$VERSION
CFLAGS=-O2 ./configure --prefix=/usr \
            i386-slackware-linux
make
make install
mkdir -p /usr/doc/gnome-python-$VERSION/pygtk
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
      /usr/doc/gnome-python-$VERSION
cd pygtk
cp -a AUTHORS NEWS README MAPPING ChangeLog /usr/doc/gnome-python-$VERSION/pygtk
find /usr/doc/gnome-python-$VERSION -type f | xargs chmod 644
chown -R root.root /usr/doc/gnome-python-$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

