summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2017-12-14 23:07:41 -0500
committerZero_Chaos <zerochaos@gentoo.org>2017-12-14 23:07:55 -0500
commite0720a397ce45bb63be0404161d03bfc59a35b2a (patch)
treec1320068efdf15e62a9bb4a6b854049c56b6f2b8 /net-wireless
parentapp-doc/doxygen: significantly clean up ebuild (diff)
downloadgentoo-e0720a397ce45bb63be0404161d03bfc59a35b2a.tar.gz
gentoo-e0720a397ce45bb63be0404161d03bfc59a35b2a.tar.bz2
gentoo-e0720a397ce45bb63be0404161d03bfc59a35b2a.zip
net-wireless/gr-doa: initial ebuild, this could be fun
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/gr-doa/gr-doa-9999.ebuild42
-rw-r--r--net-wireless/gr-doa/metadata.xml14
2 files changed, 56 insertions, 0 deletions
diff --git a/net-wireless/gr-doa/gr-doa-9999.ebuild b/net-wireless/gr-doa/gr-doa-9999.ebuild
new file mode 100644
index 000000000000..7901c0c44685
--- /dev/null
+++ b/net-wireless/gr-doa/gr-doa-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils git-r3 python-single-r1
+
+DESCRIPTION="Gnuradio flowgraphs and modules for Direction of Arrival analysis"
+HOMEPAGE="https://github.com/samwhiting/gnuradio-doa"
+EGIT_REPO_URI="https://github.com/samwhiting/gnuradio-doa.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc"
+#Tests fail, https://github.com/samwhiting/gnuradio-doa/issues/3
+RESTRICT="test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ >=net-wireless/gnuradio-3.7.0:=[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${P}/gr-doa"
+
+src_configure() {
+ mycmakeargs=(
+ -DPYTHON_EXECUTABLE="${PYTHON}"
+ )
+ cmake-utils_src_configure
+}
+src_install() {
+ cmake-utils_src_install
+ insinto /usr/share/${PN}
+ doins -r "${WORKDIR}/${P}/flowgraphs"
+}
diff --git a/net-wireless/gr-doa/metadata.xml b/net-wireless/gr-doa/metadata.xml
new file mode 100644
index 000000000000..2c918e4cda7e
--- /dev/null
+++ b/net-wireless/gr-doa/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+</maintainer>
+<maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+</maintainer>
+<use>
+</use>
+</pkgmetadata>