#!/bin/sh

. config/options

$SCRIPTS/install Python
$SCRIPTS/install pigment
$SCRIPTS/install gst-python

PYTHON_LIB_DIR=`ls -d $INSTALL/usr/lib/python*`

mkdir -p $PYTHON_LIB_DIR/site-packages
cp $PKG_BUILD/pgm/.libs/_pgm*.so $PYTHON_LIB_DIR/site-packages

mkdir -p $PYTHON_LIB_DIR/site-packages/pgm
cp $PKG_BUILD/pgm/*.py $PYTHON_LIB_DIR/site-packages/pgm

mkdir -p $PYTHON_LIB_DIR/site-packages/pgm/graph
cp $PKG_BUILD/pgm/graph/*.py $PYTHON_LIB_DIR/site-packages/pgm/graph

mkdir -p $PYTHON_LIB_DIR/site-packages/pgm/timing
cp $PKG_BUILD/pgm/timing/*.py $PYTHON_LIB_DIR/site-packages/pgm/timing

mkdir -p $PYTHON_LIB_DIR/site-packages/pgm/utils
cp $PKG_BUILD/pgm/utils/*.py $PYTHON_LIB_DIR/site-packages/pgm/utils

mkdir -p $PYTHON_LIB_DIR/site-packages/pgm/widgets
cp $PKG_BUILD/pgm/widgets/*.py $PYTHON_LIB_DIR/site-packages/pgm/widgets
