Add Debian packaging

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
This commit is contained in:
Vasilis Tsiligiannis 2019-02-12 18:03:20 +02:00 committed by Manolis Surligas
parent e3c81ea853
commit 06bf36f22c
5 changed files with 97 additions and 0 deletions

35
debian/changelog vendored Normal file
View File

@ -0,0 +1,35 @@
gr-satnogs (1.5.1-1) unstable; urgency=medium
* Update to upstream version v1.5.1
-- Vasilis Tsiligiannis <acinonyx@openwrt.gr> Tue, 12 Feb 2019 13:48:31 +0200
gr-satnogs (1.5-1) unstable; urgency=medium
* Update to upstream version v1.5
-- Vasilis Tsiligiannis <acinonyx@openwrt.gr> Fri, 30 Nov 2018 16:20:49 +0200
gr-satnogs (1.4-1) unstable; urgency=medium
* Update to upstream version v1.4
-- Corey Shields <cshields@gmail.com> Thu, 2 Aug 2018 17:46:00 -0400
gr-satnogs (1.3-1) unstable; urgency=medium
* Update to upstream version v1.3
-- Vasilis Tsiligiannis <acinonyx@openwrt.gr> Sat, 21 Apr 2018 22:54:45 +0300
gr-satnogs (1.2.2-1) unstable; urgency=medium
* Update to upstream version v1.2.2
-- Vasilis Tsiligiannis <acinonyx@openwrt.gr> Thu, 25 Jan 2018 23:42:39 +0200
gr-satnogs (1.2-1) unstable; urgency=medium
* Update to upstream version v1.2
-- Vasilis Tsiligiannis <acinonyx@openwrt.gr> Sun, 10 Dec 2017 21:50:50 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

36
debian/control vendored Normal file
View File

@ -0,0 +1,36 @@
Source: gr-satnogs
Section: science
Priority: optional
Maintainer: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
Build-Depends: cmake,
debhelper (>= 9.0.0~),
dh-python,
doxygen,
git,
gnuradio-dev (>=3.7.10),
libboost-dev,
libboost-filesystem-dev,
libboost-system-dev,
liblog4cpp5-dev,
libnova-dev,
libpng++-dev,
libvorbis-dev,
pkg-config,
python-dev,
swig
X-Python-Version: >= 2.7, << 2.8
Standards-Version: 3.9.6
Homepage: https://gitlab.com/librespacefoundation/satnogs/gr-satnogs
Vcs-Git: https://gitlab.com/librespacefoundation/satnogs/gr-satnogs.git
Vcs-Browser: https://gitlab.com/librespacefoundation/satnogs/gr-satnogs
Package: gr-satnogs
Architecture: any
Pre-Depends: multiarch-support
Depends: ${python:Depends},
${shlibs:Depends},
${misc:Depends}
Recommends: gnuradio
Description: SatNOGS GNU Radio Out-Of-Tree Module
gr-satnogs is an out-of-tree GNU Radio module that provides all the necessary
tools for decoding signals from various scientific and academic sattelites.

24
debian/rules vendored Executable file
View File

@ -0,0 +1,24 @@
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_HOST_MULTIARCH
DEB_DEBIAN_DIR=$(dir $(firstword $(MAKEFILE_LIST)))
VER=$(shell dpkg-parsechangelog -l$(DEB_DEBIAN_DIR)/changelog \
| sed -rne 's,^Version: ([^-]+).*,\1,p')
GITREV=$(shell echo $(VER) | sed -rne 's,^[0-9]{8}\.([0-f]{7})$$,\1,p' -e 's,^([0-9]+\.[0-9]+.*)$$,v\1,p')
%:
dh $@ --with python2 --parallel
override_dh_auto_configure:
dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DPythonLibs_FIND_VERSION:STRING="2.7" -DPYTHON_EXECUTABLE:STRING="/usr/bin/python"
override_dh_auto_install:
dh_auto_install
version-to-get:
echo $(VER) is $(GITREV)
get-orig-source: version-to-get
git clone https://gitlab.com/librespacefoundation/satnogs/gr-satnogs.git .gr-satnogs
cd .gr-satnogs && git archive --format=tar --prefix=gr-satnogs-$(VER)/ $(GITREV) | xz > ../gr-satnogs_$(VER).orig.tar.xz
rm -rf .gr-satnogs

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)