add Makefile to build debian package

This commit is contained in:
Dietmar Maurer
2018-11-30 13:39:40 +01:00
parent e3871182c5
commit de7798142a
6 changed files with 55 additions and 0 deletions

7
debian/changelog vendored Normal file
View File

@ -0,0 +1,7 @@
rust-api-test-server (0.1-1) unstable; urgency=medium
[ Proxmox Support Team ]
* first try
-- Proxmox Support Team <support@proxmox.com> Fri, 30 Nov 2018 13:03:28 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
10

13
debian/control vendored Normal file
View File

@ -0,0 +1,13 @@
Source: rust-api-test-server
Section: admin
Priority: optional
Maintainer: Proxmox Support Team <support@proxmox.com>
Build-Depends: debhelper (>= 10),
Standards-Version: 3.9.5
Homepage: https://www.proxmox.com
Package: api-test-server
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: API Test Server
This is experimental code used to test Rust.

1
debian/install vendored Normal file
View File

@ -0,0 +1 @@
target/release/api-test-server /usr/sbin

12
debian/rules vendored Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
%:
dh $@
override_dh_auto_build:
cargo build --release