#!/bin/sh

. config/options $1

get_graphicdrivers

mkdir -p $INSTALL/usr/lib
  cp -P $PKG_BUILD/.libs/libdrm.so* $INSTALL/usr/lib
  cp -P $PKG_BUILD/libkms/.libs/libkms.so* $INSTALL/usr/lib || true

  cp -P $PKG_BUILD/*/.libs/libdrm_*.so $INSTALL/usr/lib || true
  cp -P $PKG_BUILD/*/.libs/libdrm_*.so*[0-9] $INSTALL/usr/lib || true
