#!/bin/sh

. config/options

$SCRIPTS/install libxml2
$SCRIPTS/install gtk+
$SCRIPTS/install Python
$SCRIPTS/install pygobject
$SCRIPTS/install mutagen

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

mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/src/.libs/*.so* $INSTALL/usr/lib

mkdir -p $PYTHON_LIB_DIR/site-packages/gpod
cp -PR $PKG_BUILD/bindings/python/.libs/*.so $PYTHON_LIB_DIR/site-packages/gpod
cp -PR $PKG_BUILD/bindings/python/*.pyc $PYTHON_LIB_DIR/site-packages/gpod