#!/bin/sh

. config/options

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

cp -PR $PKG_BUILD/libdrm/intel/.libs/libdrm_intel*.so* $INSTALL/usr/lib
rm -rf $INSTALL/usr/lib/libdrm_intel*.so*T

#cp -PR $PKG_BUILD/libdrm/nouveau/.libs/libdrm_nouveau*.so* $INSTALL/usr/lib
#rm -rf $INSTALL/usr/lib/libdrm_nouveau*.so*T

#cp -PR $PKG_BUILD/libdrm/radeon/.libs/libdrm_radeon*.so* $INSTALL/usr/lib
##rm -rf $INSTALL/usr/lib/libdrm_radeon*.so*T
