Building source packages on Raspberry Pi
Prerequisites
sudo apt-get install dpkg-dev fakeroot build-essential debhelper
Build
dpkg-buildpackages -rfakeroot -us -uc
Cross Packaging
Dependencies
sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get -a armhf install cdbs devscripts libtool dh-buildinfo fakeroot
Environment
dpkg-architecture -aarmhf
export DEB\_BUILD\_OPTIONS=nocheck
Package
dpkg-buildpackage -us -uc