#!/bin/sh # Built on TCL v1.4 # Required extensions: # compiletc # advcomp # cramfs-utils export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig tar -jxf lirc-0.8.4a.tar.bz2 cd lirc-0.8.4a ./configure --with-driver=all --with-moduledir=/usr/local/lib/modules/`uname -r`/misc CFLAGS="-march=i486 -mtune=i686 -Os -pipe" CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" # make complains about bttv not having correct routines...bttv not >= v0.7.95 ? # use make -k to skip over this error make -k touch ../mark sudo make -k install cd .. find /usr/local -newer mark -not -type d > filelist tar -czf lirc.tceml -T filelist advdef -z4 lirc.tceml md5sum lirc.tceml > lirc.tceml.md5.txt TCZDIR=`mktemp -d tcz.XXXXXX` cd $TCZDIR tar zxf ../lirc.tceml cd .. mkfs.cramfs $TCZDIR lirc.tczml md5sum lirc.tczml > lirc.tczml.md5.txt rm -rf $TCZDIR lirc-0.8.4a mark filelist