#!/bin/sh # Built on TCL v2.7 # Required extensions: # compiletc # binutils # base-devs # bison # diffutils # file # findutils # flex # gawk # gcc # gperf # grep # m4 # make # patch # pkg-config # sed # squashfs-tools-4.0 # automake # autoconf # perl5 # libxslt # libxml2 # libxml2-dev # libtool # libltdl # libtool-dev # Xorg-7.4-dev # expat2-dev # fontconfig-dev # pixman-dev # openssl-0.9.8h-dev # python # sqlite3 # openssl-0.9.8h # tcl-tk # python-dev export CFLAGS="-march=i486 -mtune=i686 -Os -pipe" export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe -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 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