#!/bin/sh # Built on TCL v2.0rc4 # Required extensions: # compiletc # binutils # base-devs # bison # diffutils # file # findutils # flex # gawk # gcc # gperf # grep # m4 # make # patch # pkg-config # sed # advcomp # squashfs-tools-4.0 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 sudo strip --strip-unneeded /usr/local/bin/ccache cd .. 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 rm -rf ccache-2.4 mark filelist mkdir ccache cd ccache tar zxf ../ccache.tce cd .. mksquashfs ccache ccache.tcz md5sum ccache.tcz > ccache.tcz.md5.txt rm -rf ccache tar ztf ccache.tce > ccache.tce.list cp ccache.tce.list ccache.tcz.list