#!/bin/sh

. config/options

$SCRIPTS/install Python
$SCRIPTS/install pigment-python
$SCRIPTS/install TwistedCore
$SCRIPTS/install TwistedWeb
$SCRIPTS/install TwistedWeb2
#$SCRIPTS/install pysqlite
$SCRIPTS/install setuptools
$SCRIPTS/install zope.interface

$SCRIPTS/install cssutils
$SCRIPTS/install dbus-python
$SCRIPTS/install pymetar
$SCRIPTS/install twill
$SCRIPTS/install Imaging
$SCRIPTS/install pyOpenSSL

$SCRIPTS/install liberation-fonts

. config/options.python

PKG_DIR=`find $PACKAGES -type d -name $1`
PKG_SRC_DIR=`ls -d $BUILD/$1[-_][0-9]*`

$TOOLCHAIN/bin/easy_install --exclude-scripts --zip-ok --no-deps --quiet --prefix=$INSTALL/usr $PKG_SRC_DIR/dist/*.egg

mkdir -p $INSTALL/usr/bin
cp -PR $PKG_BUILD/.install/elisa $INSTALL/usr/bin

mkdir -p $INSTALL/etc/X11/xinit/xinitrc.d
cp -PR $PKG_DIR/scripts/xinitrc.d/* $INSTALL/etc/X11/xinit/xinitrc.d

$SCRIPTS/install moovida-plugins-good
$SCRIPTS/install moovida-plugins-bad
$SCRIPTS/install moovida-plugins-ugly
