summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-imonlcd/vdr-imonlcd-9999.ebuild')
-rw-r--r--media-plugins/vdr-imonlcd/vdr-imonlcd-9999.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/media-plugins/vdr-imonlcd/vdr-imonlcd-9999.ebuild b/media-plugins/vdr-imonlcd/vdr-imonlcd-9999.ebuild
new file mode 100644
index 0000000..a3c5147
--- /dev/null
+++ b/media-plugins/vdr-imonlcd/vdr-imonlcd-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-imonlcd/vdr-imonlcd-9999.ebuild, v1.0, 2010/03/26 16:59:12 Nelvin Exp $
+
+EAPI="2"
+inherit vdr-plugin git
+
+: ${EGIT_REPO_URI:=git://projects.vdr-developer.org/vdr-plugin-imonlcd.git}
+
+DESCRIPTION="VDR Plugin: show state info on iMON LCD"
+HOMEPAGE="http://projects.vdr-developer.org/wiki/plg-imonlcd"
+SRC_URI=""
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="app-misc/lirc
+ >=media-video/vdr-1.5.7"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ git_src_unpack
+ vdr-plugin_src_unpack all_but_unpack
+}
+
+src_install() {
+ vdr-plugin_src_install
+ einfo "Installing udev-rule for the right permission."
+ einfo "It is important to reboot your system!"
+ insinto /etc/udev/rules.d
+ doins "${FILESDIR}/30-imon.rules"
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+
+ elog
+ elog "New udev rule installed, please REBOOT!"
+ elog
+}