if [[ $JACKDMP_VCS != y ]]
then
  #
  # libs & daemon
  #
  make  DESTDIR="$INSTALL_ROOT"  install  &&

  #
  # pkgconfig file
  #
  message "${MESSAGE_COLOR}Installing pkgconfig file$DEFAULT_COLOR"  &&
  mkdir -p  "$INSTALL_ROOT/usr/lib/pkgconfig"                        &&
  cp  "$SCRIPT_DIRECTORY/jack.pc"                                    \
      "$INSTALL_ROOT/usr/lib/pkgconfig/"
else
  scons  install  &&

  if [[ $JACKDMP_MIMIC != 'FULL_MIMIC=yes' ]]
  then
    ln -sf  "$(readlink -f "$INSTALL_ROOT/usr/lib/libjackwrapper.so")"  \
            "$INSTALL_ROOT/usr/lib/libjack.so.0.0"                      &&
    ln -sf  libjack.so.0.0  "$INSTALL_ROOT/usr/lib/libjack.so.0"        &&
    ln -sf  libjack.so.0    "$INSTALL_ROOT/usr/lib/libjack.so"          &&
    ln -sf  jackdmp         "$INSTALL_ROOT/usr/bin/jackd"
  fi  &&

  if  is_depends_enabled  $SPELL  doxygen
  then
    mkdir -p  "$INSTALL_ROOT/usr/share/doc/$SPELL"       &&
    cp -r  html/  "$INSTALL_ROOT/usr/share/doc/$SPELL/"
  fi
fi
