1 |
commit: 1171d9fc0a5e2f7a5cac6f8f2d9b24342bee8f75 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 20:21:15 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 22:26:32 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1171d9fc |
7 |
|
8 |
app-misc/tpconfig: use #!/sbin/openrc-run instead of #!/sbin/runscript |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573846 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
app-misc/tpconfig/files/tpconfig | 4 ++-- |
15 |
app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild | 26 ++++++++++++++++++++++++++ |
16 |
2 files changed, 28 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/app-misc/tpconfig/files/tpconfig b/app-misc/tpconfig/files/tpconfig |
19 |
index 62cb0a7..29efa6e 100644 |
20 |
--- a/app-misc/tpconfig/files/tpconfig |
21 |
+++ b/app-misc/tpconfig/files/tpconfig |
22 |
@@ -1,5 +1,5 @@ |
23 |
-#!/sbin/runscript |
24 |
-# Copyright 1999-2004 Gentoo Foundation |
25 |
+#!/sbin/openrc-run |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
# $Id$ |
29 |
|
30 |
|
31 |
diff --git a/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild b/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild |
32 |
new file mode 100644 |
33 |
index 0000000..df31ea4 |
34 |
--- /dev/null |
35 |
+++ b/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild |
36 |
@@ -0,0 +1,26 @@ |
37 |
+# Copyright 1999-2016 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+# $Id$ |
40 |
+ |
41 |
+inherit toolchain-funcs |
42 |
+ |
43 |
+DESCRIPTION="Touchpad config for ALPS and Synaptics TPs. Controls tap/click behaviour" |
44 |
+HOMEPAGE="http://www.compass.com/synaptics/" |
45 |
+SRC_URI="http://www.compass.com/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 x86" |
50 |
+IUSE="" |
51 |
+ |
52 |
+src_compile() { |
53 |
+ econf |
54 |
+ emake CC="$(tc-getCC)" || die "emake failed" |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ dobin tpconfig || die "dobin failed!" |
59 |
+ dodoc README AUTHORS NEWS INSTALL |
60 |
+ doinitd "${FILESDIR}"/tpconfig |
61 |
+ newconfd "${FILESDIR}"/tpconfig.conf tpconfig |
62 |
+} |