#!/bin/sh # Built on TinyCore 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 # OSS # OSS-modules-KERNEL # vorbis-tools # libao # libvorbis # libogg # flac # curl # openssl-0.9.8 # libtheora-dev # libtheora # libogg-dev # libvorbis-dev # Xorg-7.5-dev # Xorg-7.5-lib # libasound CFLAGS="-march=i486 -mtune=i686 -Os -pipe" CXXFLAGS=$CFLAGS" -fno-exceptions -fno-rtti" PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig EXTNAME="recordmydesktop" VER="-0.3.8.1" DESTDIR=`pwd`/$EXTNAME tar -zxf $EXTNAME$VER.tar.gz cd $EXTNAME$VER # need to fix a bug sudo ln -s /usr/local/include/X11/extensions/shmproto.h /usr/local/include/X11/extensions/shmstr.h ./configure --enable-oss=yes && make && make install-strip cd $DESTDIR rm -rf usr/local/share find usr -not -type d > ../$EXTNAME.tcz.list cd .. mksquashfs $EXTNAME $EXTNAME.tcz -noappend md5sum $EXTNAME.tcz > $EXTNAME.tcz.md5.txt rm -rf $EXTNAME$VER $EXTNAME