summaryrefslogtreecommitdiff
blob: 6c51ab8d5595f7d0083b21d709bc005d86aed798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
EGO_PN=github.com/bemasher/rtlamr
inherit golang-build golang-vcs-snapshot

DESCRIPTION="software defined radio receiver for utility smart meters"
HOMEPAGE="https://github.com/bemasher/rtlamr"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="AGPL-3 BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

src_install() {
	dobin ${PN}
	dodoc src/${EGO_PN}/*.md src/${EGO_PN}/*.csv
}