#!/bin/sh

. config/options $1

mkdir -p $INSTALL/usr/lib
  cp -P $PKG_BUILD/va/.libs/libva*.so* $INSTALL/usr/lib
  rm -rf $INSTALL/usr/lib/libva-*.so*T

mkdir -p $INSTALL/usr/lib/va
  cp -P $PKG_BUILD/i965_drv_video/.libs/*.so $INSTALL/usr/lib/va

if [ "$DEVTOOLS" = yes ]; then
  mkdir -p $INSTALL/usr/bin
    cp $PKG_BUILD/test/.libs/vainfo $INSTALL/usr/bin
fi
