summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/altos.install3
-rw-r--r--debian/changelog11
-rw-r--r--debian/compat1
-rw-r--r--debian/control17
-rw-r--r--debian/copyright36
-rw-r--r--debian/dirs3
-rw-r--r--debian/docs2
-rw-r--r--debian/menu2
-rw-r--r--debian/repository2
-rwxr-xr-xdebian/rules78
10 files changed, 155 insertions, 0 deletions
diff --git a/debian/altos.install b/debian/altos.install
new file mode 100644
index 00000000..aac3544b
--- /dev/null
+++ b/debian/altos.install
@@ -0,0 +1,3 @@
+debian/repository etc/apt/sources.list.d/altos.list
+src/*.ihx usr/share/altos
+src/*.map usr/share/altos
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 00000000..e0ee1030
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,11 @@
+altos (0.4+88+gcd5ce66) unstable; urgency=low
+
+ * build for Debian from git
+
+ -- Bdale Garbee <bdale@gag.com> Tue, 18 Aug 2009 21:57:00 -0600
+
+altos (0) unstable; urgency=low
+
+ * Initial packaging
+
+ -- Bdale Garbee <bdale@gag.com> Tue, 18 Aug 2009 11:43:43 -0600
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 00000000..7f8f011e
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 00000000..3aa6d5dd
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: altos
+Section: otherosfs
+Priority: extra
+Maintainer: Bdale Garbee <bdale@gag.com>
+Uploaders: Keith Packard <keithp@keithp.com>
+Build-Depends: debhelper (>= 7), autoconf, automake, flite1-dev, libasound2-dev, libgconf2-dev, libglade2-dev, libgtk2.0-dev, libreadline5-dev, libusb-1.0-0-dev, nickle, sdcc
+Standards-Version: 3.8.3
+Homepage: http://altusmetrum.org/
+
+Package: altos
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, nickle
+Description: Altus Metrum firmware and utilities
+ Firmware and utilities needed to support the TeleMetrum dual-deploy
+ recording altimeter for high power model rocketry.
+ .
+ See http://altusmetrum.org/ for more information.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 00000000..7d9a469e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+This package was debianized by Bdale Garbee <bdale@gag.com> on
+Mon, 17 Aug 2009 23:01:22 -0600.
+
+It was downloaded from git.gag.com.
+
+Upstream Authors:
+
+ Keith Packard <keithp@keithp.com>
+ Bdale Garbee <bdale@gag.com>
+
+Copyright:
+
+ Copyright © 2009 Keith Packard <keithp@keithp.com>
+
+License:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+The Debian packaging is:
+
+ Copyright (C) 2009 Bdale Garbee <bdale@gag.com>
+
+and is also licensed under the GPL version 2.
+
+For a complete copy of the license, see `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 00000000..8b9a4657
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,3 @@
+etc/apt/sources.list.d
+usr/bin
+usr/share/altos
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 00000000..50bd824b
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/debian/menu b/debian/menu
new file mode 100644
index 00000000..7e15c9c8
--- /dev/null
+++ b/debian/menu
@@ -0,0 +1,2 @@
+?package(altos):needs="X11" section="Applications/Viewers"\
+ title="aoview" command="/usr/bin/aoview"
diff --git a/debian/repository b/debian/repository
new file mode 100644
index 00000000..201a4a2f
--- /dev/null
+++ b/debian/repository
@@ -0,0 +1,2 @@
+deb http://altusmetrum.org/apt sid main
+deb-src http://altusmetrum.org/apt sid main
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 00000000..078dac56
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DH_VERBOSE=1
+PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)/\1/p')
+
+# this target invoked by git-buildpackage using a clean hook, see .gbp.conf
+prebuild:
+ dch -v `git describe | tr - +` "build for Debian from git"
+ git log > ChangeLog
+ git commit ChangeLog debian/changelog \
+ -m "update changelogs for Debian build"
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ ./autogen.sh --prefix=/usr
+ touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+ $(MAKE) VERSION=$(PKG_VERSION)
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ [ ! -f Makefile ] || $(MAKE) distclean
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ $(MAKE) DESTDIR=$(CURDIR)/debian/altos install
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+ dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure