summaryrefslogtreecommitdiff
blob: 334811db95d888ec353924b67f2b3ba93d3affa8 (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=0

inherit toolchain-funcs

DESCRIPTION="Touchpad config for ALPS and Synaptics TPs. Controls tap/click behaviour"
HOMEPAGE="http://www.compass.com/synaptics/"
SRC_URI="http://www.compass.com/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DOCS=( README AUTHORS NEWS INSTALL )

src_compile() {
	econf
	emake CC="$(tc-getCC)"
}

src_install() {
	dobin "${PN}"
	doinitd "${FILESDIR}"/"${PN}"
	newconfd "${FILESDIR}"/"${PN}.conf" "${PN}"
}