Skip to content

Commit

Permalink
add debian package configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
derchrisuk committed Apr 8, 2021
1 parent d6ed7cc commit 5f39926
Show file tree
Hide file tree
Showing 10 changed files with 93 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
srtrelay:
HOME=$$(pwd) git config --global http.sslVerify false
mkdir -p $$(pwd)/gopath
HOME=$$(pwd) GOPATH=$$(pwd)/gopath go build -o srtrelay

install: talkiepi
mkdir -p $$(pwd)/debian/srtrelay/usr/local/bin
install -m 0755 srtrelay $$(pwd)/debian/srtrelay/usr/local/bin

6 changes: 6 additions & 0 deletions debian/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
srtrelay
--------

Streaming-Relay for the SRT-protocol

-- derchris <[email protected]> Thu, 08 Apr 2021 22:56:00 +0200
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
srtrelay (0.1.0) buster; urgency=medium

* Initial release.

-- derchris <[email protected]> Thu, 08 Apr 2021 22:56:00 +0200
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10
14 changes: 14 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Source: srtrelay
Section: video
Priority: optional
Maintainer: derchris <[email protected]>
Build-Depends: debhelper (>=10), pkgconf, ssl-cert, ca-certificates, tar, wget, curl, git, golang, libsrt-openssl-dev
Standards-Version: 4.50
Homepage: https://github.com/voc/srtrelay

Package: srtrelay
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}, libsrt-openssl
Description: srtrelay
Streaming-Relay for the SRT-protocol
47 changes: 47 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: srtrelay
Source: https://github.com/voc/srtrelay

Files: *
Copyright: 2021 iSchluff
License: MIT

Files: debian/*
Copyright: 2021 derchris <[email protected]>
License: GPL-3.0+

License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

License: GPL-3.0+
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, either version 3 of the License, or
(at your option) any later version.
.
This package 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, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
5 changes: 5 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/make -f
%:
dh $@

override_dh_usrlocal:
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
4 changes: 4 additions & 0 deletions debian/source/options
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tar-ignore = ".git"
tar-ignore = "CMakeFiles"
tar-ignore = "rc.hex"
tar-ignore = "obj-*"
1 change: 1 addition & 0 deletions debian/srtrelay-docs.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README

0 comments on commit 5f39926

Please sign in to comment.