#!/bin/sh # Built on TCL v1.4 # Required extensions: # compiletc # advcomp # cramfs-utils # python # python-devs export CFLAGS="-march=i486 -mtune=i686 -Os -pipe" export CXXFLAGS=$CFLAGS" -fno-exceptions -fno-rtti" export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig tar -zxf psyco-1.6-src.tar.gz cd psyco-1.6 python setup.py build sudo python setup.py install find /usr/local/lib/python2.5/site-packages/psyco* -not -type d > filelist tar -czf psyco.tce -T filelist advdef -z4 psyco.tcel md5sum psyco.tcel > psyco.tcel.md5.txt TCZDIR=`mktemp -d tcz.XXXXXX` cd $TCZDIR tar zxf ../psyco.tcel cd .. mkfs.cramfs $TCZDIR psyco.tczl md5sum psyco.tczl > psyco.tczl.md5.txt rm -rf $TCZDIR $ZISODIR rm -rf psyco-1.6 mark filelist