app-misc/tpconfig: use #!/sbin/openrc-run instead of #!/sbin/runscript
authorAustin English <wizardedit@gentoo.org>
Tue, 26 Apr 2016 20:21:15 +0000 (15:21 -0500)
committerAustin English <wizardedit@gentoo.org>
Tue, 26 Apr 2016 22:26:32 +0000 (17:26 -0500)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573846

Package-Manager: portage-2.2.26

app-misc/tpconfig/files/tpconfig
app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild [new file with mode: 0644]

index 62cb0a7e5a8f379fc20855eadb37b60e9f72c6f2..29efa6ebae4b34183f2eb1738ad15a4ef9f86b86 100644 (file)
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
diff --git a/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild b/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild
new file mode 100644 (file)
index 0000000..df31ea4
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+IUSE=""
+
+src_compile() {
+       econf
+       emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+       dobin tpconfig || die "dobin failed!"
+       dodoc README AUTHORS NEWS INSTALL
+       doinitd "${FILESDIR}"/tpconfig
+       newconfd "${FILESDIR}"/tpconfig.conf tpconfig
+}