Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/inputlircd/files/, app-misc/inputlircd/
Date: Tue, 26 Apr 2016 17:23:43
Message-Id: 1461691346.9b0d600c260a9be6e75cdf32bfb4f273de0f3cb0.wizardedit@gentoo
1 commit: 9b0d600c260a9be6e75cdf32bfb4f273de0f3cb0
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 26 17:22:26 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 17:22:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b0d600c
7
8 app-misc/inputlircd: 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/inputlircd/files/inputlircd.init | 2 +-
15 app-misc/inputlircd/files/inputlircd.init.2 | 2 +-
16 .../inputlircd/inputlircd-0.0.1_pre11-r2.ebuild | 34 ++++++++++++++++++++++
17 .../inputlircd/inputlircd-0.0.1_pre15-r1.ebuild | 34 ++++++++++++++++++++++
18 4 files changed, 70 insertions(+), 2 deletions(-)
19
20 diff --git a/app-misc/inputlircd/files/inputlircd.init b/app-misc/inputlircd/files/inputlircd.init
21 index 9213378..3cde6f9 100644
22 --- a/app-misc/inputlircd/files/inputlircd.init
23 +++ b/app-misc/inputlircd/files/inputlircd.init
24 @@ -1,4 +1,4 @@
25 -#!/sbin/runscript
26 +#!/sbin/openrc-run
27
28 start() {
29 ebegin "Starting lircd"
30
31 diff --git a/app-misc/inputlircd/files/inputlircd.init.2 b/app-misc/inputlircd/files/inputlircd.init.2
32 index 2acdedc..dc599f3 100644
33 --- a/app-misc/inputlircd/files/inputlircd.init.2
34 +++ b/app-misc/inputlircd/files/inputlircd.init.2
35 @@ -1,4 +1,4 @@
36 -#!/sbin/runscript
37 +#!/sbin/openrc-run
38
39 depend() {
40 provide lirc
41
42 diff --git a/app-misc/inputlircd/inputlircd-0.0.1_pre11-r2.ebuild b/app-misc/inputlircd/inputlircd-0.0.1_pre11-r2.ebuild
43 new file mode 100644
44 index 0000000..9c688df
45 --- /dev/null
46 +++ b/app-misc/inputlircd/inputlircd-0.0.1_pre11-r2.ebuild
47 @@ -0,0 +1,34 @@
48 +# Copyright 1999-2016 Gentoo Foundation
49 +# Distributed under the terms of the GNU General Public License v2
50 +# $Id$
51 +
52 +inherit toolchain-funcs
53 +
54 +DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
55 +HOMEPAGE="http://svn.sliepen.eu.org/inputlirc/trunk"
56 +SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.bz2"
57 +
58 +LICENSE="GPL-2"
59 +SLOT="0"
60 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
61 +IUSE=""
62 +
63 +DEPEND=""
64 +RDEPEND=""
65 +
66 +src_unpack() {
67 + unpack ${A}
68 + cd "${S}"
69 + sed -e 's:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' -i Makefile || die
70 +}
71 +
72 +src_compile() {
73 + emake CC="$(tc-getCC)" || die "make failed"
74 +}
75 +
76 +src_install() {
77 + emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
78 +
79 + newinitd "${FILESDIR}"/inputlircd.init.2 inputlircd
80 + newconfd "${FILESDIR}"/inputlircd.conf inputlircd
81 +}
82
83 diff --git a/app-misc/inputlircd/inputlircd-0.0.1_pre15-r1.ebuild b/app-misc/inputlircd/inputlircd-0.0.1_pre15-r1.ebuild
84 new file mode 100644
85 index 0000000..4ea5216
86 --- /dev/null
87 +++ b/app-misc/inputlircd/inputlircd-0.0.1_pre15-r1.ebuild
88 @@ -0,0 +1,34 @@
89 +# Copyright 1999-2016 Gentoo Foundation
90 +# Distributed under the terms of the GNU General Public License v2
91 +# $Id$
92 +
93 +inherit toolchain-funcs
94 +
95 +DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
96 +HOMEPAGE="http://svn.sliepen.eu.org/inputlirc/trunk"
97 +SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.gz"
98 +
99 +LICENSE="GPL-2"
100 +SLOT="0"
101 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
102 +IUSE=""
103 +
104 +DEPEND=""
105 +RDEPEND=""
106 +
107 +src_unpack() {
108 + unpack ${A}
109 + cd "${S}"
110 + sed -e 's:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' -i Makefile || die
111 +}
112 +
113 +src_compile() {
114 + emake CC="$(tc-getCC)" || die "make failed"
115 +}
116 +
117 +src_install() {
118 + emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
119 +
120 + newinitd "${FILESDIR}"/inputlircd.init.2 inputlircd
121 + newconfd "${FILESDIR}"/inputlircd.conf inputlircd
122 +}