pentoo-overlay/net-wireless/soapy-sdrplay3/soapy-sdrplay3-9999.ebuild
2023-06-08 22:31:57 +03:00

38 lines
790 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Soapy SDR module for SRDPlay API v3"
HOMEPAGE="https://github.com/pothosware/SoapySDRPlay3"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/pothosware/SoapySDRPlay3.git"
else
HASH_COMMIT="c4bb9afd17fd6ff2da23317f1fc98cfff3806a1d"
SRC_URI="https://github.com/pothosware/SoapySDRPlay3/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/SoapySDRPlay3-${HASH_COMMIT}"
KEYWORDS="~amd64 ~arm ~riscv ~x86"
fi
LICENSE="MIT"
SLOT="0/${PV}"
IUSE=""
RDEPEND="net-wireless/soapysdr"
DEPEND="${RDEPEND}"
BDEPEND=""
REQUIRED_USE=""
src_configure() {
cmake_src_configure
}
src_install() {
cmake_src_install
}