blob: d88d768214b3368d26826f5d32093859b1d8f92f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="software defined radio receiver for utility smart meters"
HOMEPAGE="https://github.com/bemasher/rtlamr"
SRC_URI="https://github.com/bemasher/rtlamr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/app-misc/${PN}/${P}-deps.tar.xz"
LICENSE="AGPL-3 BSD BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_compile() {
ego build .
}
src_test() {
ego test ./...
}
src_install() {
dobin ${PN}
dodoc *.md *.csv
}
|