29 lines
692 B
Bash
29 lines
692 B
Bash
# Copyright 2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit cmake-utils
|
|
|
|
DESCRIPTION="power spectrum for RTLSDR dongles"
|
|
HOMEPAGE="https://github.com/AD-Vega/rtl-power-fftw"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
if [ "${PV}" = "9999" ]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/AD-Vega/rtl-power-fftw.git"
|
|
else
|
|
KEYWORDS="~amd64 ~x86"
|
|
COMMIT="d567a454a6c96a67c61242178363e29d4cc84d64"
|
|
SRC_URI="https://github.com/AD-Vega/rtl-power-fftw/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN//_/-}-${COMMIT}"
|
|
fi
|
|
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-cpp/tclap
|
|
sci-libs/fftw:=
|
|
net-wireless/rtl-sdr:="
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|