#!/bin/sh

. config/options

$SCRIPTS/install gstreamer
$SCRIPTS/install glib
$SCRIPTS/install Python

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

mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/gst/rtsp-server/.libs/*.so* $INSTALL/usr/lib/

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

mkdir -p $INSTALL/usr/share/gst-rtsp/0.10/defs
cp -PR $PKG_BUILD/bindings/python/*.defs $INSTALL/usr/share/gst-rtsp/0.10/defs
