blob: d645f867603602ed0ec822c6c148bb9a7c06aef9 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-filebrowser/vdr-filebrowser-0.0.6b.ebuild,v 1.2 2009/08/10 10:26:52 zzam Exp $
inherit vdr-plugin
DESCRIPTION="VDR plugin: file manager plugin for moving or renaming files in VDR."
HOMEPAGE="http://vdr.nasenbaeren.net/filebrowser/"
SRC_URI="mirror://gentoo/${P}.tgz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=media-video/vdr-1.4.0"
RDEPEND="${DEPEND}"
src_unpack() {
vdr-plugin_src_unpack
if has_version ">=media-video/vdr-1.5.0"; then
epatch "${FILESDIR}"/vdr-filebrowser-0.0.6b_vdr-1.5.diff
epatch "${FILESDIR}"/vdr-filebrowser-0.0.6b-typofix.diff
fi
}
src_install() {
vdr-plugin_src_install
insinto /etc/vdr/plugins/filebrowser
doins "${FILESDIR}"/commands.conf
doins "${FILESDIR}"/order.conf
doins "${FILESDIR}"/othercommands.conf
doins "${FILESDIR}"/sources.conf
}
|