diff options
-rw-r--r-- | ebuilds/vdr-vdrmanager-9999.ebuild | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/ebuilds/vdr-vdrmanager-9999.ebuild b/ebuilds/vdr-vdrmanager-9999.ebuild index cd32c7b..c3c0f12 100644 --- a/ebuilds/vdr-vdrmanager-9999.ebuild +++ b/ebuilds/vdr-vdrmanager-9999.ebuild @@ -1,20 +1,45 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +# $Header: -IUSE="" +EAPI=2 inherit vdr-plugin git-2 -DESCRIPTION="Helper plugin for the VDR-Manager android vdr control app" -HOMEPAGE="http://projects.vdr-developer.org/projects/vdr-manager/wiki" -#SRC_URI="http://projects.vdr-developer.org/attachments/download/574/${P}.tgz" -S="${WORKDIR}/vdr-vdrmanager-0.2" EGIT_REPO_URI="git://projects.vdr-developer.org/vdr-manager.git" -KEYWORDS="~x86 ~amd64" +DESCRIPTION="Helper plugin for the VDR-Manager android vdr control app" +HOMEPAGE="http://projects.vdr-developer.org/wiki/androvdr" SLOT="0" LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" DEPEND=">=media-video/vdr-1.6.0" +S=${WORKDIR}/${P} + RESTRICT=strip + +src_unpack() { + git-2_src_unpack + S=${WORKDIR}/${P}/${PN} +} + +src_install() { + vdr-plugin_src_install + + insinto /etc/conf.d + newins examples/vdr.vdrmanager vdr.vdrmanager + fperms 600 /etc/conf.d/vdr.vdrmanager +} + +pkg_postinst() { + ewarn + ewarn "You should change the default password \"change\" in /etc/conf.d/vdr.vdrmanager" + ewarn + ewarn "If you want to stream from your VDR to your android device, you need to install" + ewarn "vdr-streamdev with USE=\"server\" set" + ewarn +} + |