# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # by zulio@zulinux.net (zulurossa) inherit vdr-plugin IUSE="" SLOT="0" DESCRIPTION="vdr Plugin: provides VDR OSD access to external programs and scripts through a TCP/IP socket connection, just like an X server does." HOMEPAGE="http://www.udo-richter.de/vdr/osdserver.en.html" SRC_URI=" http://www.udo-richter.de/vdr/files/${P}.tgz" LICENSE="GPL-2" KEYWORDS="~x86" DEPEND=">=media-video/vdr-1.4.6" RDEPEND="" PATCHES="${FILESDIR}/${P}-gentoo.diff" src_install() { vdr-plugin_src_install insinto /etc/vdr/plugins/osdserver doins ${FILESDIR}/osdserverhosts.conf exeinto /etc/vdr/plugins/osdserver/examples doexe examples/helloworld.sh doexe examples/helloworld.pl } pkg_postinst() { vdr-plugin_pkg_postinst echo elog "Check configuration files:" elog " /etc/vdr/plugins/osdserver/osdserverhosts.conf" elog " /etc/conf.d/vdr.osdserver" elog "Examples are in '/etc/vdr/plugins/osdserver/examples/'" elog " helloworld.pl need perl : execute 'emerge perl' if necessary." elog " helloworld.sh need netcat: execute 'emerge netcat' if necessary." echo }