# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/vdr-extrecmenu-0.13-r1.ebuild,v 1.1 2007/05/23 11:01:30 zzam Exp $ inherit vdr-plugin eutils S=${WORKDIR}/${VDRPLUGIN}-${PV} DESCRIPTION="Video Disk Recorder - Extended recordings menu Plugin" HOMEPAGE="http://martins-kabuff.de/extrecmenu.html" SRC_URI="http://martins-kabuff.de/download/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=">=media-video/vdr-1.3.7" PATCHES="${FILESDIR}/${PV}/MainMenuHooks.diff" src_unpack() { vdr-plugin_src_unpack if grep -q fskProtection /usr/include/vdr/timers.h; then sed -i "s:#WITHPINPLUGIN:WITHPINPLUGIN:" Makefile fi }