#!/bin/sh # Built on TCL v1.4 # Required extensions: # compiletc # advcomp # cramfs-utils # gettext # gtk2 # gtk2-devs # glib2 # glib2-devs # atk # pango # pango-devs # cairo # cairo-devs # graphics-libs-1 # graphics-libs-1-devs # autotools # libstartup-notification # gamin # libxml2 # libxml2-devs # perl_xml # Xorg-7.4-devs # pixman # pixman-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 pcmanfm-0.5.tar.gz cd pcmanfm-0.5 ./configure CFLAGS="-march=i486 -mtune=i686 -Os -pipe" CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" --disable-hal sudo ln -s /usr/lib/libX11.la /usr/local/lib sudo ln -s /usr/lib/libXau.la /usr/local/lib sudo ln -s /usr/lib/libXdmcp.la /usr/local/lib sudo ln -s /usr/lib/libXrender.la /usr/local/lib make touch mark sudo make install find /usr/local/ -newer mark -not -type d > filelist tar -czf pcmanfs.tce -T filelist advdef -z4 pcmanfs.tce md5sum pcmanfs.tce > pcmanfs.tce.md5.txt TCZDIR=`mktemp -d tcz.XXXXXX` cd $TCZDIR tar zxf ../pcmanfs.tce cd .. mkfs.cramfs $TCZDIR pcmanfs.tcz md5sum pcmanfs.tcz > pcmanfs.tcz.md5.txt rm -rf $TCZDIR $ZISODIR rm -rf pcmanfs-0.5 mark filelist