#!/bin/sh # Built on TCL v3.2 # Required extensions: # compiletc # binutils # base-dev # bison # diffutils # file # findutils # flex # gawk # gcc # gcc_libs # cloog # ppl # gmp # mpfr # gperf # grep # m4 # make # patch # pkg-config # sed # squashfs-tools-4.x # python-dev # sqlite3 # sqlite3-dev # openssl-0.9.8 # openssl-0.9.8-dev # tk # tcl # Xorg-7.5-lib # libxft # fontconfig # expat2 # bzip2-lib # bzip2-dev # bzip2 # python # libxml2-dev # libxml2 # libxml2-bin 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 export EXTNAME="xcb-proto" export VER="-1.6" export DESTDIR=`pwd`/$EXTNAME tar -jxf $EXTNAME$VER.tar.bz2 cd $EXTNAME$VER ./configure && make && make install-strip cd $DESTDIR find usr -not -type d > ../$EXTNAME.tcz.list cd .. mksquashfs $EXTNAME $EXTNAME.tcz md5sum $EXTNAME.tcz > $EXTNAME.tcz.md5.txt rm -rf $EXTNAME $EXTNAME $EXTNAME$VER