#!/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 gdbm-1.8.3.tar.gz cd gdbm-1.8.3 ./configure CFLAGS="-march=i486 -mtune=i686 -Os -pipe" make touch ../mark sudo make install # there is an error in the install setup of the makefile sudo /usr/bin/install -c -m 644 -o tc -g staff gdbm.h /usr/local/include/gdbm.h cd .. find /usr/local/ -newer mark -not -type d > filelist tar -czf libgdbm.tcel -T filelist advdef -z4 libgdbm.tcel md5sum libgdbm.tcel > libgdbm.tcel.md5.txt mkdir gdbm cd gdbm tar zxf ../libgdbm.tcel cd .. mksquashfs gdbm libgdbm.tczl md5sum libgdbm.tczl > libgdbm.tczl.md5.txt rm -rf gdbm rm -rf gdbm-1.8.3 mark filelist