diff options
author | Rick Farina <zerochaos@gentoo.org> | 2020-04-02 15:21:57 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2020-04-02 15:22:30 -0400 |
commit | 4eac9d917f7d9a57e65838aa4ded56959bd36c29 (patch) | |
tree | 6082bd48db820105be1a239ffced40ce3e96a9ae /net-wireless/dump978 | |
parent | mail-mta/protonmail-bridge-bin-1.2.6: bump (diff) | |
download | gentoo-4eac9d917f7d9a57e65838aa4ded56959bd36c29.tar.gz gentoo-4eac9d917f7d9a57e65838aa4ded56959bd36c29.tar.bz2 gentoo-4eac9d917f7d9a57e65838aa4ded56959bd36c29.zip |
net-wireless/dump978: initial ebuild
it does something. not sure what yet
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/dump978')
-rw-r--r-- | net-wireless/dump978/dump978-9999.ebuild | 41 | ||||
-rw-r--r-- | net-wireless/dump978/metadata.xml | 11 |
2 files changed, 52 insertions, 0 deletions
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> |