blob: ed9a6de35b4cd39237c47388c9df975167f0336f (
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
|
# 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.3 2006/08/15 13:56:05 zzam 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
}
|