From 408388ecfb5bfabddb38880a3be637a9b3e09af1 Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Wed, 16 Oct 2019 10:41:25 -0400 Subject: [PATCH] net-wireless/srslte: initial import initial ebuild from https://github.com/longlene/clx added flags for hardware and basic config options Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Rick Farina --- net-wireless/srslte/Manifest | 1 + net-wireless/srslte/metadata.xml | 15 +++++++++ net-wireless/srslte/srslte-19.06.ebuild | 44 +++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 net-wireless/srslte/Manifest create mode 100644 net-wireless/srslte/metadata.xml create mode 100644 net-wireless/srslte/srslte-19.06.ebuild diff --git a/net-wireless/srslte/Manifest b/net-wireless/srslte/Manifest new file mode 100644 index 000000000000..e77822e7e191 --- /dev/null +++ b/net-wireless/srslte/Manifest @@ -0,0 +1 @@ +DIST srslte-19.06.tar.gz 2269154 BLAKE2B 54f0bef69ebc58210b7a5cffa46e8b5fc9c2dab491c3d414847a9757f993bea1efa409edf31346e78d5b88b6076b0216b013362a66259601e6af62bee483b292 SHA512 b6b097734502f1fb0e82cd398e4c43e81f1f18a3e67fc6e0e4d84d24c2f6972483a82653daa97fe60beb313e7c4d1346d99e1fdec5554a080277a3894479ed47 diff --git a/net-wireless/srslte/metadata.xml b/net-wireless/srslte/metadata.xml new file mode 100644 index 000000000000..04c0836aaf67 --- /dev/null +++ b/net-wireless/srslte/metadata.xml @@ -0,0 +1,15 @@ + + + + + radio@gentoo.org + Radio + + + support Ettus Research hardware + support Nuand BladeRF hardware + use soapysdr to support various hardware + support hardware sim cards + enable zeromq message passing + + diff --git a/net-wireless/srslte/srslte-19.06.ebuild b/net-wireless/srslte/srslte-19.06.ebuild new file mode 100644 index 000000000000..69be1795d758 --- /dev/null +++ b/net-wireless/srslte/srslte-19.06.ebuild @@ -0,0 +1,44 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils vcs-snapshot + +MY_PV=${PV/./_} + +DESCRIPTION="Open source SDR LTE software suite from Software Radio Systems" +HOMEPAGE="http://www.softwareradiosystems.com" +SRC_URI="https://github.com/srsLTE/srsLTE/archive/release_${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bladerf simcard soapysdr uhd zeromq" + +DEPEND=" + dev-libs/boost + dev-libs/libconfig + net-misc/lksctp-tools + net-libs/mbedtls + sci-libs/fftw:* + bladerf? ( net-wireless/bladerf:= ) + simcard? ( sys-apps/pcsc-lite ) + soapysdr? ( net-wireless/soapysdr:= ) + uhd? ( net-wireless/uhd:= ) + zeromq? ( net-libs/zeromq ) + +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + mycmakeargs=( + -DENABLE_UHD="$(usex uhd)" + -DENABLE_BLADERF="$(usex bladerf)" + -DENABLE_SOAPYSDR="$(usex soapysdr)" + -DENABLE_ZEROMQ="$(usex zeromq)" + -DENABLE_HARDSIM="$(usex simcard)" + ) + cmake-utils_src_configure +} -- 2.26.2