blob: a3b6e9fbadf8bbc597d5d9c4d125f99f1e280211 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-pin/vdr-pin-0.0.12.ebuild,v 1.1 2006/04/12 18:56:45 hd_brummy Exp $
inherit vdr-plugin
DESCRIPTION="Video Disk Recorder pin PlugIn"
HOMEPAGE="http://www.jwendel.de"
SRC_URI="http://www.jwendel.de/vdr/${P}.tgz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=media-video/vdr-1.3.45-r1"
pkg_setup() {
vdr-plugin_pkg_setup
if grep -q fskProtection /usr/include/vdr/timers.h; then
einfo "Patched vdr found"
else
echo
eerror "Patched VDR needed"
echo
einfo "reemerge VDR with USE=\"child-protection\" or USE=\"bigpatch\"" && \
die "unpack failed, patched VDR needed"
fi
}
src_install() {
vdr-plugin_src_install
into /usr/share/vdr/pin
dobin ${FILESDIR}/vdr-pin.sh
insinto /etc/vdr/reccmds
doins ${FILESDIR}/reccmds.pin.conf
}
|