# Add telldus repository to apt sources
wget http://download.telldus.com/debian/telldus-public.key
sudo apt-key add telldus-public.key
sudo echo “deb-src https://s3.eu-central-1.amazonaws.com/download.telldus.com unstable main” >> /etc/apt/sources.list.d/telldus-unstable.list sudo apt-get update # Get packages needed for general builds sudo apt-get install build-essential fakeroot devscripts cmake # Needed to sucessfully run build of telldus-core but not specified as build deps sudo apt-get install libftdi-dev libconfuse-dev help2man # Get build deps that are specified in the package telldus core sudo apt-get build-dep telldus-core # Add the linker flag for pthread, otherwise linking will fail export DEB_LDFLAGS_APPEND=’-pthread’ # Get the source of telldus core # Get the source of telldus core apt-get source telldus-core cd telldus-core-2.1.3-beta1/ # Build packages (unsigned) debuild -b -uc -us # In case the build complains about a missing Doxyfile.in, create an empty one touch Doxyfile.in # Install the newly built packages sudo dpkg -i libtelldus-core2_2.1.3-beta1-1_amd64.deb sudo dpkg -i telldus-core_2.1.3-beta1-1_amd64.deb