#!/bin/sh echo Installing TUI packages echo CWD=`pwd` LOG="$CWD/install-tui.log" echo $LOG `date` > $LOG function ipkg() { if [ "$1" = "--all" ]; then echo Installing all `pwd`/$1 ... installpkg *.tgz >> $LOG 2>&1 if [ ! $? = 0 ]; then echo ERROR: Stopped tail -n 10 $LOG exit 1 fi fi while [ "$1" ]; do echo Install $1 installpkg $1*.tgz >> $LOG 2>&1 if [ ! $? = 0 ]; then echo ERROR: Stopped tail -n 10 $LOG exit 1 fi shift done } cd $CWD/base ipkg buildpkg ipkg buildwmmenu ipkg buildsessions ipkg vasm-upgrade rm /etc/XwmMenu/*.wm #-------------------------------------------------------------- cd $CWD/libs ipkg aspell-0.50 ipkg aspell-en ipkg enchant ipkg fribidi ipkg bc ipkg libxml2 ipkg pcre ipkg libexif ipkg libmikmod ipkg netpbm ipkg lame # libpcap bugs: prefix should be /usr # gc bugs: prefix should be /usr # libraw bugs: prefix should be /usr # libdv bugs: prefix should be /usr # libacv bugs: prefix should be /usr # libquicktime bug : that's a tarball, not a tgz #-------------------------------------------------------------- cd $CWD/devel #perl bug: prefix should be /usr. ipkg Python ipkg python-demo ipkg python-tools ipkg ruby # BUGS: prefix should be /usr #ipkg nasm-* #source-highlight-* #------------------------------------------------- cd $CWD/apps ## All of these have bugs: prefix should be /usr #ipkg nano-* (VL4 has it) #ipkg sc-* #ipkg wipe-* #ipkg enscript-* #---------------------------------------------------- cd $CWD/net ipkg iproute2 ipkg nmap ipkg wvdial ## These have bug: prefix #ipkg iptraf-* #ipkg tcpdump-* #ipkg wget-* #ipkg links-* #ipkg w3m-* #ipkg pine-* #---------------------------------------------------- cd $CWD/services #ipkg bind ipkg xampp # fix error chmod 1777 /tmp #---------------------------------------------------- cd $CWD/printer ipkg espgs ipkg gnu-gs-fonts ipkg cups