From 986c6ec685d90c0afd6ea4a0d80b4611d00143d3 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Fri, 5 Jan 2018 01:12:05 +0100 Subject: debian packaging --- debian/batteriewarner.install | 1 + debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 9 +++++++++ debian/rules | 10 ++++++++++ 5 files changed, 27 insertions(+) create mode 100644 debian/batteriewarner.install create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100755 debian/rules (limited to 'debian') diff --git a/debian/batteriewarner.install b/debian/batteriewarner.install new file mode 100644 index 0000000..35b67c2 --- /dev/null +++ b/debian/batteriewarner.install @@ -0,0 +1 @@ +target/release/batteriewarner /usr/sbin \ No newline at end of file diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a4ff452 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +batteriewarner (0.1.0) unstable; urgency=medium + + * Fake entry. + + -- Yves Fischer Sat, 16 Apr 2016 15:06:48 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4a3a94f --- /dev/null +++ b/debian/control @@ -0,0 +1,9 @@ +Source: batteriewarner +Maintainer: Yves Fischer +Build-Depends: debhelper (>= 9), dh-cargo, rustc + +Package: batteriewarner +Architecture: any +Depends: ${misc:Depends} +Description: Batterie Wächter Programm. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8f6d5dc --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_clean: + cargo clean + +override_dh_auto_build: + cargo build --release -- cgit v1.2.1