README-Debian 1004 B

12345678910111213141516171819
  1. Debian packaging notes by Graeme Humphries <graeme@sudo.ca>:
  2. Here's the short list on how to build your own Debian/Ubuntu package:
  3. * Install and configure pbuilder (https://wiki.ubuntu.com/PbuilderHowto)
  4. * cd into this source directory, and create a fake upstream tarball:
  5. tar -cJvf ../bfgminer_${VERSION}.orig.tar.xz *
  6. * Create the Debian specific bitforce module config from its patch:
  7. patch -p1 < debian/patches/bfgminer-bitforce.diff
  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.