summaryrefslogtreecommitdiff
blob: e1f9fa31ee032d5455b6e67d7a74826f7d70eccb (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
# Copyright 2003-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-decruft/vdr-decruft-0.0.4.ebuild,v 1.4 2007/07/10 23:09:00 mr_bones_ Exp $

IUSE=""
inherit vdr-plugin eutils

DESCRIPTION="Video Disk Recorder DeCruft Plugin - Clean unwanted entries from channels.conf"
HOMEPAGE="http://www.rst38.org.uk/vdr/decruft/"
SRC_URI="http://www.rst38.org.uk/vdr/decruft/${P}.tgz"
KEYWORDS="~x86"
SLOT="0"
LICENSE="GPL-2"

DEPEND=">=media-video/vdr-1.3.21-r2"

pkg_setup() {
	vdr-plugin_pkg_setup
	if ! grep -q SetGroupSep /usr/include/vdr/channels.h; then
		ewarn "Your vdr has not been patched with the SetGroupSep-Patch."
		die "Unpatched vdr detected!"
	fi
}

src_install() {
	vdr-plugin_src_install
	insinto /etc/vdr/plugins
	doins examples/decruft.conf
}