diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-25 07:36:27 +0100 |
commit | 43793fab84041cfc5c60c0151d1591b8a69fb24a (patch) | |
tree | 6208a7f4fc744684fce0f55acbb47511acace498 /sys-apps/rtl-entropy | |
parent | 28e3d252dc8ac8a5635206dfefe1cfe05058d1db (diff) |
gentoo resync : 25.08.2018
Diffstat (limited to 'sys-apps/rtl-entropy')
-rw-r--r-- | sys-apps/rtl-entropy/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/rtl-entropy/metadata.xml | 14 | ||||
-rw-r--r-- | sys-apps/rtl-entropy/rtl-entropy-0.1.2_p20180118-r1.ebuild | 35 |
3 files changed, 52 insertions, 0 deletions
diff --git a/sys-apps/rtl-entropy/Manifest b/sys-apps/rtl-entropy/Manifest new file mode 100644 index 000000000000..9d34551a6ab2 --- /dev/null +++ b/sys-apps/rtl-entropy/Manifest @@ -0,0 +1,3 @@ +DIST rtl-entropy-0.1.2_p20180118.tar.gz 57495 BLAKE2B f4f1fcaf296594263c70e3221fedd35876d34f4a740332bc95fc3407393db05072507a83cebe5561bfc514d02f2a69f948a09c2e0176acae0a4d262cf478e165 SHA512 b09ccac5594d067c36e44683b1f67dde1255a4ea4e10bbd6b8cdff940158c9bdcf9aa1938a3ecead5a1c254fb641571c2ad6efb04933f9dba08a2f628f3e0ef8 +EBUILD rtl-entropy-0.1.2_p20180118-r1.ebuild 957 BLAKE2B daba93bf5d5b324fb811f6bbcc943a1e220a26a128278452ab09dac95f76d5d1c326e74af3febe5203d4f3e3a30edded83a1118906dfbd614cc2c6caa49f58a3 SHA512 52477968d11cbabf6f407de9baaffb04a21e13bdd24001a2a18c9e6fa8006c602944d17d48c5acc63d580740d6955587a2a5ff9e23be3f7003079a2135a1f248 +MISC metadata.xml 395 BLAKE2B e41c875a5b367e9ae1859073f681c08eee2832beaad60b445c019205d8dd4ce91d085c28b2a17e1b2693fe02252ac28ffd091b13a10eb1963bc9edf62a4f9a50 SHA512 f0c81eff4127887b150efd20cc0d94d58d17c666518a8025d809aceb6c41e2a7dd802adda16a1c131531e44895ff08a94cfeb39ee55d3e5adf910f9c6beb0d6f diff --git a/sys-apps/rtl-entropy/metadata.xml b/sys-apps/rtl-entropy/metadata.xml new file mode 100644 index 000000000000..dfd977ac976e --- /dev/null +++ b/sys-apps/rtl-entropy/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="project"> + <email>radio@gentoo.org</email> + <name>Radio</name> + </maintainer> +<use> + <flag name="bladerf">Build with Nuand BladeRF support</flag> +</use> + <upstream> + <remote-id type="github">pwarren/rtl-entropy</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-apps/rtl-entropy/rtl-entropy-0.1.2_p20180118-r1.ebuild b/sys-apps/rtl-entropy/rtl-entropy-0.1.2_p20180118-r1.ebuild new file mode 100644 index 000000000000..8b430e3b66ea --- /dev/null +++ b/sys-apps/rtl-entropy/rtl-entropy-0.1.2_p20180118-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="An entropy generator using SDR peripherals, including rtl-sdr and BladeRF" +HOMEPAGE="http://rtl-entropy.org/" +COMMIT="9f1768c35f6205a73a657cfc9ac7bd9f9a40936c" +SRC_URI="https://github.com/pwarren/rtl-entropy/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +#sadly, rtlsdr support doesn't appear to be optional +IUSE="bladerf" + +RDEPEND="sys-libs/libcap + dev-libs/openssl:0= + bladerf? ( net-wireless/bladerf:= ) + net-wireless/rtl-sdr" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + if ! use bladerf; then + sed -i 's#libbladeRF.h#libbladeRF-totallynotreal.h#' cmake/Modules/FindLibbladeRF.cmake + fi + #if ! use rtlsdr; then + # sed -i 's#rtl-sdr.h#rtl-sdr-totallynotreal.h#' cmake/Modules/FindLibRTLSDR.cmake + #fi + default +} |