summaryrefslogtreecommitdiff
blob: 55d2dd4a7211f45fcae08f1edfab15a52e7b29b3 (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 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit toolchain-funcs

DESCRIPTION="Tool for working with Logitech Unifying receivers and devices"
HOMEPAGE="https://lekensteyn.nl/logitech-unifying.html https://git.lekensteyn.nl/ltunify/"
SRC_URI="https://git.lekensteyn.nl/${PN}/snapshot/${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"

src_prepare() {
	default
	sed -i '/^override CFLAGS/d' Makefile || die
	tc-export CC
}

src_compile() {
	emake ${PN}
}

src_install() {
	dobin ${PN}
	dodoc NEWS README.txt udev/42-logitech-unify-permissions.rules
}