summaryrefslogtreecommitdiff
blob: b52c3bf2499d86987d0328e5b83a08d32e5c02c2 (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
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 toolchain-funcs

DESCRIPTION="Show mouse refresh rate under evdev"
HOMEPAGE="https://git.sr.ht/~iank/evhz"
EGIT_REPO_URI="https://git.sr.ht/~iank/evhz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

src_compile() {
	"$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -o evhz evhz.c || die "gcc failed"
}

src_install() {
	einstalldocs
	dobin evhz
}