summaryrefslogtreecommitdiff
blob: a3c514789744ff98a3043b6dbf9e00b1c36279a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
}