Debian packaging notes by Graeme Humphries : Because the build depends on the AMD App SDK (which isn't packaged for Debian yet), this can't be built precisely like a normal Debian package. Here's a few short steps on how to get it building correctly: * Install AMD App SDK per the README. * Install and configure pbuilder (https://wiki.ubuntu.com/PbuilderHowto) * cd into this source directory, and create a fake upstream tarball: tar -cJvf ../bfgminer_${VERSION}.orig.tar.xz * * Build the package using pbuilder: pdebuild * The built package should end up in /var/cache/pbuilder/result