diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
commit | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (patch) | |
tree | 9f47ee47c31a0f13f9496879cd88a1042550aa81 /net-wireless/tempestsdr/tempestsdr-0.0_p20200221.ebuild | |
parent | 53cba99042fa967e2a93da9f8db806fe2d035543 (diff) |
gentoo (leap year) resync : 29.02.2020
Diffstat (limited to 'net-wireless/tempestsdr/tempestsdr-0.0_p20200221.ebuild')
-rw-r--r-- | net-wireless/tempestsdr/tempestsdr-0.0_p20200221.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-wireless/tempestsdr/tempestsdr-0.0_p20200221.ebuild b/net-wireless/tempestsdr/tempestsdr-0.0_p20200221.ebuild new file mode 100644 index 000000000000..94ad5e3071f5 --- /dev/null +++ b/net-wireless/tempestsdr/tempestsdr-0.0_p20200221.ebuild @@ -0,0 +1,46 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit java-pkg-2 + +DESCRIPTION="Remote video eavesdropping using a software-defined radio platform" +HOMEPAGE="https://github.com/deltj/TempestSDR.git" + +LICENSE="GPL-3" +SLOT="0" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/deltj/TempestSDR.git" +else + KEYWORDS="~amd64 ~x86" + COMMIT="93c238725bdcf2f50c8a1d3789cf56e90f7bab7f" + SRC_URI="https://github.com/deltj/TempestSDR/archive/${COMMIT}.tar.gz" + S="${WORKDIR}/TempestSDR-${COMMIT}" +fi +IUSE="" + +DEPEND=">=virtual/jdk-1.7:* + net-wireless/airspy + net-wireless/uhd:= + net-wireless/rtl-sdr + net-wireless/bladerf:= + net-wireless/hackrf-tools" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + emake all +} + +src_install() { + insinto /usr/share/${PN} + doins JavaGUI/JTempestSDR.jar + dodir /usr/bin + cat <<-EOF > "${ED}/usr/bin/tempestsdr" +#!/bin/sh +java -jar /usr/share/tempestsdr/JTempestSDR.jar +EOF + fperms +x /usr/bin/tempestsdr +} |