#!/bin/sh CWD=`pwd` cd /tmp tar xyvf $CWD/gnome-python-1.4.1.tar.bz2 cd gnome-python-1.4.1 # --prefix must point to Python's prefix # You could use --with-gnome=/opt/gnome and a lot of other # flags, too, but as long as all the gnome-config and other # files are in the $PATH you'll do fine without CFLAGS=-O2 ./configure --prefix=/usr \ i386-slackware-linux make make install mkdir -p /usr/doc/gnome-python-1.4.1 cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \ /usr/doc/gnome-python-1.4.1 mkdir -p /usr/doc/gnome-python-1.4.1/pygtk cd pygtk cp -a AUTHORS NEWS README MAPPING ChangeLog /usr/doc/gnome-python-1.4.1 chown -R root.root /usr/doc/gnome-python-1.4.1 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