README-Debian 1.0 KB

12345678910111213141516171819
  1. Debian packaging notes by Graeme Humphries <graeme@sudo.ca>:
  2. Because the build depends on the AMD App SDK (which isn't packaged for Debian yet), this can't be built precisely like
  3. a normal Debian package. Here's a few short steps on how to get it building correctly:
  4. * Install AMD App SDK per the README.
  5. * Install and configure pbuilder (https://wiki.ubuntu.com/PbuilderHowto)
  6. * cd into this source directory, and create a fake upstream tarball:
  7. tar -cJvf ../bfgminer_${VERSION}.orig.tar.xz *
  8. * Build the package using pbuilder:
  9. pdebuild
  10. * The built package should end up in /var/cache/pbuilder/results
  11. Debian packaging depends on new release versions being entered into debian/changelog. The versions in that file need
  12. the Debian/Ubuntu release specific suffix (0precise1) as all packages go into a shared pool, and so they need to have distinct
  13. names for different releases.
  14. When a new release happens, just add it with some brief changelog notes to that file, and it should be ready
  15. to generate a new source package and upload to the Launchpad PPA.