summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Klopfenstein <benklop@gmail.com>2015-08-05 02:10:15 -0600
committerBen Klopfenstein <benklop@gmail.com>2015-08-05 02:10:15 -0600
commit5aa1e5fceac451ee629ab0b5a81e0847bf9d9683 (patch)
tree83466ad601abf5c89867559a1aa483c24d2434f2 /app-misc/lirc/lirc-0.9.2a-r1.ebuild
downloadbenklop-5aa1e5fceac451ee629ab0b5a81e0847bf9d9683.tar.gz
benklop-5aa1e5fceac451ee629ab0b5a81e0847bf9d9683.tar.bz2
benklop-5aa1e5fceac451ee629ab0b5a81e0847bf9d9683.zip
Initial commit
Diffstat (limited to 'app-misc/lirc/lirc-0.9.2a-r1.ebuild')
-rw-r--r--app-misc/lirc/lirc-0.9.2a-r1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/app-misc/lirc/lirc-0.9.2a-r1.ebuild b/app-misc/lirc/lirc-0.9.2a-r1.ebuild
new file mode 100644
index 0000000..fbbbaa0
--- /dev/null
+++ b/app-misc/lirc/lirc-0.9.2a-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit systemd
+DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
+HOMEPAGE="http://www.lirc.org/"
+
+MY_P=${PN}-${PV/_/}
+
+if [[ "${PV/_pre/}" = "${PV}" ]]; then
+ SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
+else
+ SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
+fi
+
+LICENSE="GPL-2
+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ x11-libs/libSM
+ x11-libs/libICE
+ "
+RDEPEND="${DEPEND}"
+
+src_install() {
+ systemd_dounit "${FILESDIR}"/lircd.service
+}
+
+pkg_preinst() {
+ enewgroup lirc
+ enewuser lirc -1 /bin/false /dev/null "lirc,daemon"
+}