summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-04-26 12:22:26 -0500
committerAustin English <wizardedit@gentoo.org>2016-04-26 12:22:26 -0500
commit9b0d600c260a9be6e75cdf32bfb4f273de0f3cb0 (patch)
treea17ba4624a2518e0f0ab09fb1c251562086ae032 /app-misc
parentapp-misc/actkbd: remove actkbd-0.2.8-r1 (diff)
downloadgentoo-9b0d600c260a9be6e75cdf32bfb4f273de0f3cb0.tar.gz
gentoo-9b0d600c260a9be6e75cdf32bfb4f273de0f3cb0.tar.bz2
gentoo-9b0d600c260a9be6e75cdf32bfb4f273de0f3cb0.zip
app-misc/inputlircd: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573846 Package-Manager: portage-2.2.26
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/inputlircd/files/inputlircd.init2
-rw-r--r--app-misc/inputlircd/files/inputlircd.init.22
-rw-r--r--app-misc/inputlircd/inputlircd-0.0.1_pre11-r2.ebuild34
-rw-r--r--app-misc/inputlircd/inputlircd-0.0.1_pre15-r1.ebuild34
4 files changed, 70 insertions, 2 deletions
diff --git a/app-misc/inputlircd/files/inputlircd.init b/app-misc/inputlircd/files/inputlircd.init
index 921337847b1b..3cde6f917fcb 100644
--- a/app-misc/inputlircd/files/inputlircd.init
+++ b/app-misc/inputlircd/files/inputlircd.init
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
start() {
ebegin "Starting lircd"
diff --git a/app-misc/inputlircd/files/inputlircd.init.2 b/app-misc/inputlircd/files/inputlircd.init.2
index 2acdedc81ba2..dc599f36e925 100644
--- a/app-misc/inputlircd/files/inputlircd.init.2
+++ b/app-misc/inputlircd/files/inputlircd.init.2
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
depend() {
provide lirc
diff --git a/app-misc/inputlircd/inputlircd-0.0.1_pre11-r2.ebuild b/app-misc/inputlircd/inputlircd-0.0.1_pre11-r2.ebuild
new file mode 100644
index 000000000000..9c688dfdbdf2
--- /dev/null
+++ b/app-misc/inputlircd/inputlircd-0.0.1_pre11-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit toolchain-funcs
+
+DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
+HOMEPAGE="http://svn.sliepen.eu.org/inputlirc/trunk"
+SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e 's:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' -i Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
+
+ newinitd "${FILESDIR}"/inputlircd.init.2 inputlircd
+ newconfd "${FILESDIR}"/inputlircd.conf inputlircd
+}
diff --git a/app-misc/inputlircd/inputlircd-0.0.1_pre15-r1.ebuild b/app-misc/inputlircd/inputlircd-0.0.1_pre15-r1.ebuild
new file mode 100644
index 000000000000..4ea5216a9520
--- /dev/null
+++ b/app-misc/inputlircd/inputlircd-0.0.1_pre15-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit toolchain-funcs
+
+DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
+HOMEPAGE="http://svn.sliepen.eu.org/inputlirc/trunk"
+SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e 's:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' -i Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
+
+ newinitd "${FILESDIR}"/inputlircd.init.2 inputlircd
+ newconfd "${FILESDIR}"/inputlircd.conf inputlircd
+}