summaryrefslogtreecommitdiff
blob: 543d98164e9dc04155e757031d351abfe791fc4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/dvbstreamer/dvbstreamer-2.0.0_rc1.ebuild,v 1.1 2010/06/18 12:18:18 ssuominen Exp $

EAPI=2
MY_P=${P/_}

DESCRIPTION="DVB over UDP streaming solution"
HOMEPAGE="http://dvbstreamer.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-db/sqlite:3
	dev-libs/libev
	dev-libs/libyaml
	>=sys-devel/libtool-2.2.6b
	sys-libs/readline"
DEPEND="${RDEPEND}
	media-tv/linuxtv-dvb-headers"

S=${WORKDIR}/${MY_P}

src_configure() {
	econf \
		--disable-dependency-tracking \
		--enable-file-streamer
}

src_install() {
	emake DESTDIR="${D}" dvbstreamerdocdir="/usr/share/doc/${PF}" install || die
	dodoc doc/*.txt
	prepalldocs
}