cd $SOURCE_DIRECTORY  &&

if [ "$LADSPA_SDK" == "y" ]; then
   echo  "Installing LADSPA utils..."  &&

   mkdir -p "$INSTALL_ROOT/usr/lib/ladspa/"       &&
   mkdir -p "$INSTALL_ROOT/usr/bin/"              &&
   mkdir -p "$INSTALL_ROOT/usr/share/doc/ladspa"  &&

   cp plugins/* "$INSTALL_ROOT/usr/lib/ladspa/"   &&
   cp bin/* "$INSTALL_ROOT/usr/bin/"              &&
   cp doc/* "$INSTALL_ROOT/usr/share/doc/ladspa"
fi  &&

echo  "Installing LADSPA header..."  &&

mkdir -p "$INSTALL_ROOT/usr/include/"  &&

cp src/ladspa.h "$INSTALL_ROOT/usr/include/"
