Add Debian packaging

Add support for building .deb packages; to use, one can do

    $ cp -r packaging/debian debian
    $ dpkg-buildpackage -b

This of course requires a libdivecomputer package as a build prerequisite.

Signed-off-by: Roland Dreier <roland@digitalvampire.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Roland Dreier 2011-10-31 13:05:56 -07:00 committed by Linus Torvalds
parent 4d56123402
commit 06ddeba47e
6 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,5 @@
subsurface (1.1-20111026-git036fccd3-1) unstable; urgency=low
* Initial release.
-- Roland Dreier <roland@digitalvampire.org> Tue, 25 Oct 2011 14:24:12 -0700

1
packaging/debian/compat Normal file
View file

@ -0,0 +1 @@
8

15
packaging/debian/control Normal file
View file

@ -0,0 +1,15 @@
Source: subsurface
Priority: optional
Maintainer: Roland Dreier <roland@digitalvampire.org>
Build-Depends: autoconf, automake, libtool, debhelper (>= 8), dh-autoreconf,
pkg-config, libgtk2.0-dev, libgconf2-dev, libxml2-dev, libdivecomputer-dev
Standards-Version: 3.9.2
Section: utils
Homepage: http://subsurface.hohndel.org
Package: subsurface
Section: utils
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: simple dive log program written in C
Subsurface is a simple dive log program written in C.

View file

@ -0,0 +1,17 @@
Initial Debianization:
This package was debianized by Roland Dreier <roland@digitalvampire.org> on
Tue, 25 Oct 2011 04:22:07 -0700.
It was downloaded from git://subsurface.hohndel.org/subsurface.git
Copyright:
Copyright 2011 Linus Torvalds
Copyright 2011 Dirk Hohndel
License:
GPLv2
On Debian systems, the complete text of the GNU General Public License
version 2 can be found in the file '/usr/share/common-licenses/GPL-2'

5
packaging/debian/rules Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
%:
dh $@

View file

@ -0,0 +1 @@
3.0 (quilt)