summaryrefslogtreecommitdiff
blob: 09f52fef3a02163032d506dce0337906cccb1a70 (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
29
30
31
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools git-r3

DESCRIPTION="a GNU/Linux keylogger that works!"
HOMEPAGE="https://github.com/kernc/logkeys"
EGIT_REPO_URI="https://github.com/kernc/${PN}"

KEYWORDS=""
IUSE=""
LICENSE="GPL-3+"
SLOT="0"

DEPEND=""
RDEPEND=""

src_prepare() {
	sed "s:-Wall -O3 ::" -i ./src/Makefile.am || die
	eautoreconf
	default
}

src_install() {
	default

	newinitd "${FILESDIR}/${PN}-init.d" ${PN}
	newconfd "${FILESDIR}/${PN}-conf.d" ${PN}
}