Debian Packaging - Packaging a simple app
Esteban Manchado Velázquez <emanchado@demiurgo.org>

Starting point

Using dh_make

Single binary

CDBS

Same results, different debian/rules

Patching upstream

Example patch

This should be saved as debian/patches/001-debian_mark.patch (for example).
--- superecho.orig      2008-08-05 13:53:56.000000000 +0200
+++ superecho   2008-08-05 13:53:57.000000000 +0200
@@ -1,5 +1,5 @@
 #!/bin/sh

 VERSION=1.0
-echo "I'm super echo v$VERSION!!!111oneone"
+echo "I'm super echo v$VERSION (Debian package)!!!111oneone"
 echo "$@"
  

Links

Takk!

Takk. Spørsmål?

Picture credits