# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-wapd/vdr-wapd-0.9_p1.ebuild,v 1.2 2009/10/20 11:39:56 zzam Exp $ inherit vdr-plugin MY_P="${PN}-${PV%_p*}" DESCRIPTION="VDR plugin: lets VDR listen to WAP requests to allow remote control by WML enabled browsers" HOMEPAGE="http://www.heiligenmann.de/vdr/vdr/plugins/wapd.html" SRC_URI="http://www.heiligenmann.de/vdr/download/${MY_P}.tgz http://www.heiligenmann.de/vdr/download/${MY_P#vdr-}-patch1.diff.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND=">=media-video/vdr-1.3.44" PATCHES=("${FILESDIR}/${MY_P}_gcc-4.1.x.diff" "${FILESDIR}/${MY_P}-gentoo.diff" "${WORKDIR}/${MY_P#vdr-}-patch1.diff" "${FILESDIR}/${MY_P}-as-needed.patch") S="${WORKDIR}/${MY_P#vdr-}" src_install() { vdr-plugin_src_install dobin "${S}/wappasswd" insinto /etc/vdr/plugins/wapd doins "${FILESDIR}"/{waphosts,wapaccess} }