#!/bin/sh

. config/options $1

mkdir -p $INSTALL/usr/bin
  cp $PKG_BUILD/amixer/amixer $INSTALL/usr/bin
  cp $PKG_BUILD/aplay/aplay $INSTALL/usr/bin
  cp $PKG_DIR/scripts/soundconfig $INSTALL/usr/bin

mkdir -p $INSTALL/usr/sbin
  cp $PKG_BUILD/alsactl/alsactl $INSTALL/usr/sbin

mkdir -p $INSTALL/usr/share/alsa/init
  cp $PKG_BUILD/alsactl/init/* $INSTALL/usr/share/alsa/init
  rm -rf $INSTALL/usr/share/alsa/init/Makefile*

 mkdir -p $INSTALL/lib/udev/rules.d
   cp $PKG_DIR/config/rules.d/* $INSTALL/lib/udev/rules.d
