From: Zero_Chaos Date: Mon, 19 Feb 2018 16:49:35 +0000 (-0500) Subject: net-wireless/soapyhackrf: import from pentoo X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c7517743c6a9a18aa26f4698da82b0a5bc52e2c9;p=gentoo.git net-wireless/soapyhackrf: import from pentoo module for soapysdr Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- diff --git a/net-wireless/soapyhackrf/Manifest b/net-wireless/soapyhackrf/Manifest new file mode 100644 index 000000000000..f926d7075369 --- /dev/null +++ b/net-wireless/soapyhackrf/Manifest @@ -0,0 +1 @@ +DIST soapyhackrf-0.3.2.tar.gz 15643 BLAKE2B e57a0e2bc50984434f0e97207f8b274cc08d84e5884f4bee523614adb07d10cee810f1dd43d771f8b3a97bdb0dd84a0ac6b34d840aa9c93df19f7777f658d8d4 SHA512 667f27491d5fe18a04670ff0ade32b4a6f696ba8718e211957c7f8bab64957023ee4905df22214524ae3796a350a725d4f192fde21bb3d60cb9e69a4e629df90 diff --git a/net-wireless/soapyhackrf/metadata.xml b/net-wireless/soapyhackrf/metadata.xml new file mode 100644 index 000000000000..2633b05296ff --- /dev/null +++ b/net-wireless/soapyhackrf/metadata.xml @@ -0,0 +1,15 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + radio@gentoo.org + Radio + + + pothosware/SoapyHackRF + + diff --git a/net-wireless/soapyhackrf/soapyhackrf-0.3.2.ebuild b/net-wireless/soapyhackrf/soapyhackrf-0.3.2.ebuild new file mode 100644 index 000000000000..b5dece6d6651 --- /dev/null +++ b/net-wireless/soapyhackrf/soapyhackrf-0.3.2.ebuild @@ -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="SoapySDR HackRF module" +HOMEPAGE="https://github.com/pothosware/SoapyHackRF" + +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="https://github.com/pothosware/SoapyHackRF.git" + inherit git-r3 + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/pothosware/SoapyHackRF/archive/soapy-hackrf-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/SoapyHackRF-soapy-hackrf-"${PV}" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND="net-wireless/soapysdr + net-libs/libhackrf:=" +DEPEND="${RDEPEND}" diff --git a/net-wireless/soapyhackrf/soapyhackrf-9999.ebuild b/net-wireless/soapyhackrf/soapyhackrf-9999.ebuild new file mode 100644 index 000000000000..b5dece6d6651 --- /dev/null +++ b/net-wireless/soapyhackrf/soapyhackrf-9999.ebuild @@ -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="SoapySDR HackRF module" +HOMEPAGE="https://github.com/pothosware/SoapyHackRF" + +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="https://github.com/pothosware/SoapyHackRF.git" + inherit git-r3 + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/pothosware/SoapyHackRF/archive/soapy-hackrf-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/SoapyHackRF-soapy-hackrf-"${PV}" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND="net-wireless/soapysdr + net-libs/libhackrf:=" +DEPEND="${RDEPEND}"