From 562c4e0e3163fe5b28194b0e6722c111ec0ef749 Mon Sep 17 00:00:00 2001 From: Christopher Andrews Date: Sat, 22 Jun 2024 11:13:46 +1000 Subject: [PATCH] Intial debian package support --- .gitignore | 7 +++++++ debian/changelog | 5 +++++ debian/control | 19 +++++++++++++++++++ debian/rules | 6 ++++++ 4 files changed, 37 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100755 debian/rules diff --git a/.gitignore b/.gitignore index 422b889..3929c59 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,10 @@ /build/ /cmake-build-debug/ /CMakeLists.txt.user +debian/.debhelper +debian/debhelper-build-stamp +debian/files +debian/soapysdr-module-soapymiri +debian/soapysdr-module-soapymiri.debhelper.log +debian/soapysdr-module-soapymiri.substvars +obj-x86_64-linux-gnu diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4d89be0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +soapysdr-module-soapymiri (1.0.0-1) UNRELEASED; urgency=medium + + * Initial release. + + -- ericek111 Sat, 22 Jun 2024 09:28:27 +1000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..6b82597 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: soapysdr-module-soapymiri +Section: hamradio +Priority: optional +Maintainer: ericek111 +Rules-Requires-Root: no +Build-Depends: + debhelper-compat (= 13), + cmake, +Standards-Version: 4.7.0 +Homepage: https://github.com/ericek111/SoapyMiri +#Vcs-Browser: https://salsa.debian.org/debian/soapyMiri +Vcs-Git: https://github.com/ericek111/SoapyMiri.git + +Package: soapysdr-module-soapymiri +Architecture: all +Depends: + ${misc:Depends}, +Description: Library for Mirics-based devices + Software support for the Mirics based software defined radio devices diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c89a03b --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +%: + dh $@ --buildsystem=cmake + +override_dh_auto_configure: + dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=RelWithDebInfo