#!/bin/sh

TCEDIR=`cat /opt/.tce_dir`

EXTENSIONS="compiletc intltool-0.40.5 perl5 perl_xml_parser gettext libtool \
libbonobo libbonobo-dev audiofile audiofile-dev esound esound-dev gnome-vfs gnome-vfs-dev \
popt popt-dev glib2 glib2-dev ORBit2 ORBit2-dev GConf GConf-dev gcc_libs"

cd $TCEDIR/optional

for ext in $EXTENSIONS
do
	if [ ! -e $TCEDIR/optional/$ext.tcz ] ; then
		tce-load -w $ext.tcz
	fi
	
	if [ ! -e /usr/local/tce.installed/$ext ] ; then
		tce-load -i $ext.tcz
	fi
done


	 
