You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1002 B

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-analogtv/vdr-analogtv-1.0.00-r2.ebuild,v 1.1 2009/06/20 23:45:40 flameeyes Exp $
inherit vdr-plugin eutils
DESCRIPTION="VDR plugin: Support analog-tv devices as input"
HOMEPAGE="http://www.ko0l.de/download/vdr/analogtv/index.html"
SRC_URI="http://www.ko0l.de/download/vdr/analogtv/download/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=media-video/vdr-1.2.6
media-libs/libdvb"
RDEPEND="${DEPEND}"
PATCHES="${FILESDIR}/${PN}-sane-c++.diff"
src_unpack()
{
vdr-plugin_src_unpack
cd ${S}
sed -i -e "s:^INCLUDES += :INCLUDES += -I/usr/include/libdvb :" Makefile
}
src_install()
{
vdr-plugin_src_install
docinto "examples"
dodoc examples/channels.conf.*
}
pkg_postinst()
{
vdr-plugin_pkg_postinst
elog "Please try the example-channels.conf-files"
elog "stored inside /usr/share/doc/${PF}/examples"
}