#!/bin/sh # Built on TCL v1.4 # Required extensions: # compiletc # advcomp # cramfs-utils 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 ccache-2.4.tar.gz cd ccache-2.4 ./configure CFLAGS="-march=i486 -mtune=i686 -Os -pipe" make touch mark sudo make install find /usr/local/ -newer mark -not -type d > filelist cat filelist | grep -v -e man/ > filelist tar -czf ccache.tce -T filelist advdef -z4 ccache.tce md5sum ccache.tce > ccache.tce.md5.txt TCZDIR=`mktemp -d tcz.XXXXXX` cd $TCZDIR tar zxf ../ccache.tce cd .. mkfs.cramfs $TCZDIR ccache.tcz md5sum ccache.tcz > ccache.tcz.md5.txt rm -rf $TCZDIR $ZISODIR rm -rf ccache-2.4 mark filelist