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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Feb 15 18:32:24 2012 UTC (2 years, 9 months ago) by hd_brummy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
move media-tv to virtual/linuxtv-dvb-headers, bug #403929

(Portage version: 2.1.10.11/cvs/Linux i686, RepoMan options: --force)

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_pre20080302.ebuild,v 1.1 2008/03/02 14:23:18 zzam 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 SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
15
16 S="${WORKDIR}/${PN}"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="~x86"
21
22 RDEPEND="dev-lang/perl"
23 DEPEND="virtual/linuxtv-dvb-headers"
24
25 src_unpack() {
26 unpack ${A}
27
28 #epatch ${FILESDIR}/${P}-gentoo.diff
29 cd "${S}"
30 sed -i Makefile \
31 -e 's:$(CFLAGS):$(CFLAGS) $(CPPFLAGS):' \
32 -e '/CFLAGS.*=.*-g -Wall -O2/s:-g -Wall -O2::' \
33 -e '/CFLAGS.*=/s:CFLAGS:CPPFLAGS:' \
34 -e 's:-I \.\./DVB/include:-I /usr/include:'
35
36 cp TELNET/svdrpsend.pl dvbstream-send.pl
37 cp TELNET/README README.telnet
38
39 sed -e 's:\./svdrpsend.pl:dvbstream-send.pl:' \
40 -i TELNET/*.sh
41
42 sed -e 's:^DUMPRTP=.*$:DUMPRTP=dumprtp:' \
43 -e 's:^TS2ES=.*$:TS2ES=ts2es:' \
44 -i *.sh
45 }
46
47 src_install() {
48 dobin dvbstream dumprtp rtpfeed ts_filter dvbstream-send.pl
49
50 dodoc README*
51
52 insinto /usr/share/doc/${PF}/tune
53 doins TELNET/*.sh
54
55 insinto /usr/share/doc/${PF}/multicast
56 doins *.sh
57 }

  ViewVC Help
Powered by ViewVC 1.1.20