--- vdr-vompserver-0.3.0.ebuild.orig 2010-03-03 19:26:29.000000000 +0100 +++ vdr-vompserver-0.3.0.ebuild 2010-03-03 19:30:13.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $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 $ @@ -18,34 +18,31 @@ DEPEND=">=media-video/vdr-1.2.6" RDEPEND="${DEPEND}" -PATCHES="${FILESDIR}/${P}_vdr-1.7.3-compile.diff" - src_prepare() { + epatch "${FILESDIR}/${P}_vdr-1.7.3-compile.diff" vdr-plugin_src_prepare - sed -i "s:vompserver:vomp:" vompserver.c + sed -i "s:vompserver:vomp:" vompserver.c || die } src_install() { vdr-plugin_src_install - dodoc README HISTORY + dodoc README || die insinto /etc/vdr/plugins/vomp - newins vomp.conf.sample vomp.conf - newins vomp-00-00-00-00-00-00.conf.sample vomp-00-00-00-00-00-00.conf + newins vomp.conf.sample vomp.conf || die + newins vomp-00-00-00-00-00-00.conf.sample vomp-00-00-00-00-00-00.conf || die } pkg_postinst() { vdr-plugin_pkg_postinst - echo elog "Have a look to the VOMP sample files in /etc/vdr/plugins." echo elog "You have to download the dongle file (i.e. firmware) and adapt" elog "the vomp configuration files accordingly." echo - - elog "Please edit up from version ${PN}-0.2.6" + elog "Please edit up from ${PN} previous version" elog "all config files in /etc/vdr/plugins/vomp/" }