cp -av "$SOURCE_DIRECTORY/anywhere/$INSTALL_ROOT/usr" "$INSTALL_ROOT/" &&

if [[ -f "$SOURCE_DIRECTORY/spell-tmp/pydcop.py" ]]; then
  cp "$SOURCE_DIRECTORY/spell-tmp/pydcop.py" "$PYPATH"
fi &&

# gettext
install -vm 755 "$SOURCE_DIRECTORY"/Tools/i18n/{pygettext.py,msgfmt.py} \
                "$INSTALL_ROOT/usr/bin"

local PYVER=`echo ${VERSION}|cut -d . -f 1,2`

if [ -d "${INSTALL_ROOT}/usr/lib/python${PYVER}/plat-linux2" ];then
   cp -r "${INSTALL_ROOT}/usr/lib/python${PYVER}/plat-linux2" \
   "${INSTALL_ROOT}/usr/lib/python${PYVER}/plat-linux3"
else
   cp -r "${INSTALL_ROOT}/usr/lib/python${PYVER}/plat-linux3" \
   "${INSTALL_ROOT}/usr/lib/python${PYVER}/plat-linux2"
fi

