Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 298897
Collapse All | Expand All

(-)vdr-vompserver-0.3.0.ebuild.orig (-10 / +7 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vompserver/vdr-vompserver-0.3.0.ebuild,v 1.2 2009/05/07 17:56:46 hd_brummy Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vompserver/vdr-vompserver-0.3.0.ebuild,v 1.2 2009/05/07 17:56:46 hd_brummy Exp $
4
4
Lines 18-51 Link Here
18
DEPEND=">=media-video/vdr-1.2.6"
18
DEPEND=">=media-video/vdr-1.2.6"
19
RDEPEND="${DEPEND}"
19
RDEPEND="${DEPEND}"
20
20
21
PATCHES="${FILESDIR}/${P}_vdr-1.7.3-compile.diff"
22
23
src_prepare() {
21
src_prepare() {
22
	epatch "${FILESDIR}/${P}_vdr-1.7.3-compile.diff"
24
	vdr-plugin_src_prepare
23
	vdr-plugin_src_prepare
25
24
26
	sed -i "s:vompserver:vomp:" vompserver.c
25
	sed -i "s:vompserver:vomp:" vompserver.c || die
27
}
26
}
28
27
29
src_install() {
28
src_install() {
30
	vdr-plugin_src_install
29
	vdr-plugin_src_install
31
30
32
	dodoc README HISTORY
31
	dodoc README || die
33
32
34
	insinto /etc/vdr/plugins/vomp
33
	insinto /etc/vdr/plugins/vomp
35
	newins vomp.conf.sample vomp.conf
34
	newins vomp.conf.sample vomp.conf || die
36
	newins vomp-00-00-00-00-00-00.conf.sample vomp-00-00-00-00-00-00.conf
35
	newins vomp-00-00-00-00-00-00.conf.sample vomp-00-00-00-00-00-00.conf || die
37
}
36
}
38
37
39
pkg_postinst() {
38
pkg_postinst() {
40
	vdr-plugin_pkg_postinst
39
	vdr-plugin_pkg_postinst
41
40
42
	echo
43
	elog "Have a look to the VOMP sample files in /etc/vdr/plugins."
41
	elog "Have a look to the VOMP sample files in /etc/vdr/plugins."
44
	echo
42
	echo
45
	elog "You have to download the dongle file (i.e. firmware) and adapt"
43
	elog "You have to download the dongle file (i.e. firmware) and adapt"
46
	elog "the vomp configuration files accordingly."
44
	elog "the vomp configuration files accordingly."
47
	echo
45
	echo
48
46
	elog "Please edit up from ${PN} previous version"
49
	elog "Please edit up from version ${PN}-0.2.6"
50
	elog "all config files in /etc/vdr/plugins/vomp/"
47
	elog "all config files in /etc/vdr/plugins/vomp/"
51
}
48
}

Return to bug 298897