net-wireless/soapybladerf: import from pentoo
authorZero_Chaos <zerochaos@gentoo.org>
Mon, 19 Feb 2018 16:50:07 +0000 (11:50 -0500)
committerZero_Chaos <zerochaos@gentoo.org>
Mon, 19 Feb 2018 17:29:19 +0000 (12:29 -0500)
module for soapysdr

Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-wireless/soapybladerf/Manifest [new file with mode: 0644]
net-wireless/soapybladerf/metadata.xml [new file with mode: 0644]
net-wireless/soapybladerf/soapybladerf-0.3.4.ebuild [new file with mode: 0644]
net-wireless/soapybladerf/soapybladerf-9999.ebuild [new file with mode: 0644]

diff --git a/net-wireless/soapybladerf/Manifest b/net-wireless/soapybladerf/Manifest
new file mode 100644 (file)
index 0000000..5df4618
--- /dev/null
@@ -0,0 +1 @@
+DIST soapybladerf-0.3.4.tar.gz 26618 BLAKE2B 1c09aa4733e16de67bb176bd531d544b11358901a58325e6fdff3391bf8e218cdb13729f14c0ed87d5d32de5783368024a3c73e8ea8a9d5885d06bd8ae51e44f SHA512 694ec68da292efc98b5d0864a8afa71ecf72fa91ac03650e5f2b75e938fb27cc73fb1dabe57c336e4d4a217d8931fb6750b1932881bdf4aa0bbd53cf8617564b
diff --git a/net-wireless/soapybladerf/metadata.xml b/net-wireless/soapybladerf/metadata.xml
new file mode 100644 (file)
index 0000000..d72b96a
--- /dev/null
@@ -0,0 +1,15 @@
+<?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>
+       <upstream>
+               <remote-id type="github">pothosware/SoapyBladeRF</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/net-wireless/soapybladerf/soapybladerf-0.3.4.ebuild b/net-wireless/soapybladerf/soapybladerf-0.3.4.ebuild
new file mode 100644 (file)
index 0000000..29262fb
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Soapy SDR plugin for the Blade RF "
+HOMEPAGE="https://github.com/pothosware/SoapyBladeRF"
+
+if [ "${PV}" = "9999" ]; then
+       EGIT_REPO_URI="https://github.com/pothosware/SoapyBladeRF.git"
+       inherit git-r3
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="https://github.com/pothosware/SoapyBladeRF/archive/soapy-bladerf-${PV}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}"/SoapyBladeRF-soapy-bladerf-"${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="net-wireless/soapysdr
+               >=net-wireless/bladerf-2017.12_rc1:="
+DEPEND="${RDEPEND}"
diff --git a/net-wireless/soapybladerf/soapybladerf-9999.ebuild b/net-wireless/soapybladerf/soapybladerf-9999.ebuild
new file mode 100644 (file)
index 0000000..29262fb
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Soapy SDR plugin for the Blade RF "
+HOMEPAGE="https://github.com/pothosware/SoapyBladeRF"
+
+if [ "${PV}" = "9999" ]; then
+       EGIT_REPO_URI="https://github.com/pothosware/SoapyBladeRF.git"
+       inherit git-r3
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="https://github.com/pothosware/SoapyBladeRF/archive/soapy-bladerf-${PV}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}"/SoapyBladeRF-soapy-bladerf-"${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="net-wireless/soapysdr
+               >=net-wireless/bladerf-2017.12_rc1:="
+DEPEND="${RDEPEND}"