# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-live/vdr-live-0.2.0.ebuild,v 1.5 2010/01/03 20:13:02 hd_brummy Exp $ inherit git vdr-plugin EAPI="3" #MY_PV=$(get_version_component_range 1) #MY_P="${PN}-${MY_PV}" DESCRIPTION="VDR Plugin: Web Access To Settings" HOMEPAGE="http://live.vdr-developer.org" EGIT_REPO_URI="git://projects.vdr-developer.org/vdr-plugin-live.git" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="ssl" DEPEND="media-video/vdr >=dev-libs/tntnet-2.0[ssl=,sdk] >=dev-libs/cxxtools-1.4.3" RDEPEND="${DEPEND}" # depends that are not rdepend DEPEND="${DEPEND} >=dev-libs/boost-1.33.0" S="${WORKDIR}/${VDRPLUGIN}-${PV}" src_unpack() { # local branch="live" # EGIT_BRANCH=${branch} git_src_unpack vdr-plugin_src_unpack all_but_unpack cd "${S}" # make it work with /bin/sh as indicated in the file header sed -e "18s/==/=/" -i buildutil/version-util } src_install() { vdr-plugin_src_install cd "${S}/live" insinto /etc/vdr/plugins/live doins -r * chown vdr:vdr -R "${D}"/etc/vdr/plugins/live } pkg_postinst() { vdr-plugin_pkg_postinst elog "Use for login:pass" elog "admin:live" elog "on first install" elog elog "To be able to use all functions of vdr-live" elog "you should emerge and enable vdr-epgsearch" elog elog "\temerge vdr-epgsearch" elog "\teselect vdr-plugin enable epgsearch" }