#!/bin/sh

. config/options

mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers
cp $PKG_BUILD/src/.libs/intel_drv.so $INSTALL/$XORG_PATH_MODULES/drivers
cp $PKG_BUILD/src/ch7017/.libs/ch7017.so $INSTALL/$XORG_PATH_MODULES/drivers
cp $PKG_BUILD/src/ch7xxx/.libs/ch7xxx.so $INSTALL/$XORG_PATH_MODULES/drivers
cp $PKG_BUILD/src/ivch/.libs/ivch.so $INSTALL/$XORG_PATH_MODULES/drivers
cp $PKG_BUILD/src/sil164/.libs/sil164.so $INSTALL/$XORG_PATH_MODULES/drivers
cp $PKG_BUILD/src/tfp410/.libs/tfp410.so $INSTALL/$XORG_PATH_MODULES/drivers

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