mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-misc/tpconfig: revbump for d-m-i
Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
22
app-misc/tpconfig/files/tpconfig-r1
Normal file
22
app-misc/tpconfig/files/tpconfig-r1
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
depend() {
|
||||
before display-manager
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Loading tpconfig options..."
|
||||
/usr/bin/tpconfig ${TPOPTIONS} > /dev/null 2> /tmp/tpconfig.start
|
||||
if [ -z "`cat /tmp/tpconfig.start 2> /dev/null`" ]; then
|
||||
eend 0
|
||||
else
|
||||
eend 1
|
||||
fi
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stoping tpconfig (this does nothing)..."
|
||||
eend 0
|
||||
}
|
||||
24
app-misc/tpconfig/tpconfig-3.1.3-r3.ebuild
Normal file
24
app-misc/tpconfig/tpconfig-3.1.3-r3.ebuild
Normal file
@@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
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"
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin "${PN}"
|
||||
newinitd "${FILESDIR}"/"${PN}-r1" "${PN}"
|
||||
newconfd "${FILESDIR}"/"${PN}.conf" "${PN}"
|
||||
}
|
||||
Reference in New Issue
Block a user