#version := $(shell apt-cache show xbmc | grep Version | head -n 1 | sed "s/.*: *\([0-9.]*\)[^0-9]*\([0-9.]\{3,8\}\).*/\1.\2/") version := $(shell apt-cache show xbmc | grep Version | head -n 1 | cut -f3 -d ':' | cut -f1 -d '-' | sed 's/~/./') deps := python-software-properties xbmc deps_message = You must first add a $(color_red)ppa reposetory$(color_reset), before you can add xbmc: \nsudo add-apt-repository ppa:team-xbmc/unstable && sudo apt-get update include ../Makefile.default include ../Makefile.tools all: $(modul).$(suffix) clean: _clean $(modul): $(addon) $(MAKE) copy_from_host rm -rf $@/usr/lib/xbmc/system/python sed 's|SmallStepBack|Back|' -i $@/usr/share/xbmc/system/keymaps/remote.xml