summaryrefslogtreecommitdiff
blob: cc0a34a195a46ae2a4b89272f3b63ebac0c4258b (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
# 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-0.0.2.ebuild, v1.0,  2010/03/26 16:31:23 Nelvin Exp $

EAPI="2"
inherit vdr-plugin
DESCRIPTION="VDR Plugin: show state info on iMON LCD"
HOMEPAGE="http://projects.vdr-developer.org/wiki/plg-imonlcd"
SRC_URI="http://projects.vdr-developer.org/attachments/download/117/${P}.tgz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="app-misc/lirc
		>=media-video/vdr-1.5.7"
RDEPEND="${DEPEND}"

src_install() {
		vdr-plugin_src_install
		einfo "Installing udev-rule for the right permission."
		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
}