Initial Debian package

Refs #7
This commit is contained in:
Ryan Cavicchioni 2021-04-08 05:36:07 +00:00
parent 0df1524976
commit 86720c72f9
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
5 changed files with 34 additions and 0 deletions

View File

@ -32,3 +32,7 @@ clean:
.PHONY: install .PHONY: install
install: install:
$(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/lume $(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/lume
.PHONY: deb
deb:
$(Q) dpkg-buildpackage -us -uc -b

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
lume (0.1.0) UNRELEASED; urgency=medium
* Fake entry.
-- Ryan Cavicchioni <ryan@cavi.cc> Thu, 08 Apr 2021 02:14:36 +0000

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

6
debian/control vendored Normal file
View File

@ -0,0 +1,6 @@
Source: lume
Maintainer: Ryan Cavicchioni <ryan@cavi.cc>
Package: lume
Architecture: any
Description: A CLI tool for the LIFX HTTP API

18
debian/rules vendored Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/make -f
DISTRIBUTION = $(shell lsb_release -sr)
VERSION = 0.1.0
PACKAGEVERSION = $(VERSION)-0~$(DISTRIBUTION)0
%:
dh $@
override_dh_auto_clean:
override_dh_auto_test:
override_dh_auto_build:
override_dh_auto_install:
make
make install DESTDIR=debian/lume
override_dh_gencontrol:
dh_gencontrol -- -v$(PACKAGEVERSION)