summaryrefslogtreecommitdiff
path: root/net-wireless/dump978
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/dump978')
-rw-r--r--net-wireless/dump978/Manifest2
-rw-r--r--net-wireless/dump978/dump978-9999.ebuild41
-rw-r--r--net-wireless/dump978/metadata.xml11
3 files changed, 54 insertions, 0 deletions
diff --git a/net-wireless/dump978/Manifest b/net-wireless/dump978/Manifest
new file mode 100644
index 000000000000..d46ec37e1fd0
--- /dev/null
+++ b/net-wireless/dump978/Manifest
@@ -0,0 +1,2 @@
+EBUILD dump978-9999.ebuild 996 BLAKE2B 3cc0f475cd238942058830d5209d14c722c33f3fb0049778863c970633b48393f3f6271f8d0695984d5093a10ef72ea0255abc8ca206964e7b889f7087e39750 SHA512 f5ef87438d9351bcb910a5873d31c701c8c9a720feeb6c8f40ea7a96baadbb6e57dc85d215ed003a94fe74f4c5c41ea789fbca569046dede7d25271ad51e21bc
+MISC metadata.xml 322 BLAKE2B 268566da9bf8b705f49287f5579d0bf9d647658459e86d3a168454765387c51226246b50e8a1ee78c62a926cd4eceaafe75518929d0e7ffc3ab27ec6f839df3b SHA512 03b9e040e61bae4ce0b020f7b8d6f2e134c1c8d60de4826e43def2181a632244f982a5f2a1d9e67a542545f8703c8f885fd89dbe2c04008992a040f98035c72c
diff --git a/net-wireless/dump978/dump978-9999.ebuild b/net-wireless/dump978/dump978-9999.ebuild
new file mode 100644
index 000000000000..f84f6b174121
--- /dev/null
+++ b/net-wireless/dump978/dump978-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="simple Mode S decoder for soapysdr supported devices"
+HOMEPAGE="https://github.com/flightaware/dump978"
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/flightaware/${PN}.git"
+ KEYWORDS=""
+else
+ KEYWORDS="~amd64 ~x86"
+ #COMMIT="fb5942dba6505a21cbafc7905a5a7c513b214dc9"
+ #SRC_URI="https://github.com/flightaware/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ #S="${WORKDIR}/${PN}-${COMMIT}"
+ SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-libs/boost:=
+ net-wireless/soapysdr:="
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ sed -i -e 's#-Wall -Wno-psabi -Werror -O2 -g##' Makefile
+}
+
+src_install() {
+ newbin ${PN}-fa ${PN}
+ dobin skyaware978
+ dodoc README.md
+
+ insinto /usr/share/${PN}
+ newins debian/lighttpd/89-skyaware978.conf lighttpd.conf
+}
diff --git a/net-wireless/dump978/metadata.xml b/net-wireless/dump978/metadata.xml
new file mode 100644
index 000000000000..825bf00b405a
--- /dev/null
+++ b/net-wireless/dump978/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">flightaware/dump978</remote-id>
+ </upstream>
+</pkgmetadata>