/[gentoo-x86]/media-tv/dvbstream/dvbstream-0.7_pre20080516.ebuild
Gentoo

Contents of /media-tv/dvbstream/dvbstream-0.7_pre20080516.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Apr 29 15:01:15 2012 UTC (2 years, 2 months ago) by tomka
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
marked x86 per bug 287116

(Portage version: 2.1.10.57/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-tv/dvbstream/dvbstream-0.7_pre20080516.ebuild,v 1.2 2012/02/15 18:32:24 hd_brummy Exp $
4
5 inherit eutils
6
7 IUSE=""
8
9 DESCRIPTION="simple command line tools for DVB cards. Includes a RTP multicast stream server"
10 HOMEPAGE="http://sourceforge.net/projects/dvbtools"
11
12 #SRC_URI="mirror://sourceforge/dvbtools/${P}.tar.gz"
13 #MY_P=${PN}-snapshot-${PV##*_pre}
14 MY_P=${PN}-snapshot-20080302
15 SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
16
17 S="${WORKDIR}/${PN}"
18
19 LICENSE="GPL-2"
20 SLOT="0"
21 KEYWORDS="x86"
22
23 RDEPEND="dev-lang/perl"
24 DEPEND="virtual/linuxtv-dvb-headers"
25
26 src_unpack() {
27 unpack ${A}
28
29 cd "${S}"
30 epatch "${FILESDIR}/${P}-update.diff"
31 epatch "${FILESDIR}/${PN}-0.7_pre20080302-telnet-port-switch.diff"
32
33 cd "${S}"
34 sed -i Makefile \
35 -e 's:$(CFLAGS):$(CFLAGS) $(CPPFLAGS):' \
36 -e '/CFLAGS.*=.*-g -Wall -O2/s:-g -Wall -O2::' \
37 -e '/CFLAGS.*=/s:CFLAGS:CPPFLAGS:' \
38 -e 's:-I \.\./DVB/include:-I /usr/include:'
39
40 cp TELNET/svdrpsend.pl dvbstream-send.pl
41 cp TELNET/README README.telnet
42
43 sed -e 's:\./svdrpsend.pl:dvbstream-send.pl:' \
44 -i TELNET/*.sh
45
46 sed -e 's:^DUMPRTP=.*$:DUMPRTP=dumprtp:' \
47 -e 's:^TS2ES=.*$:TS2ES=ts2es:' \
48 -i *.sh
49 }
50
51 src_install() {
52 dobin dvbstream dumprtp rtpfeed ts_filter dvbstream-send.pl
53
54 dodoc README*
55
56 insinto /usr/share/doc/${PF}/tune
57 doins TELNET/*.sh
58
59 insinto /usr/share/doc/${PF}/multicast
60 doins *.sh
61 }

  ViewVC Help
Powered by ViewVC 1.1.20