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

Contents of /media-tv/dvbstream/dvbstream-0.7_pre20080302-r1.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, 10 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-r1.ebuild,v 1.1 2008/05/16 18:01:16 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}-telnet-port-switch.diff"
29
30 cd "${S}"
31 sed -i Makefile \
32 -e 's:$(CFLAGS):$(CFLAGS) $(CPPFLAGS):' \
33 -e '/CFLAGS.*=.*-g -Wall -O2/s:-g -Wall -O2::' \
34 -e '/CFLAGS.*=/s:CFLAGS:CPPFLAGS:' \
35 -e 's:-I \.\./DVB/include:-I /usr/include:'
36
37 cp TELNET/svdrpsend.pl dvbstream-send.pl
38 cp TELNET/README README.telnet
39
40 sed -e 's:\./svdrpsend.pl:dvbstream-send.pl:' \
41 -i TELNET/*.sh
42
43 sed -e 's:^DUMPRTP=.*$:DUMPRTP=dumprtp:' \
44 -e 's:^TS2ES=.*$:TS2ES=ts2es:' \
45 -i *.sh
46 }
47
48 src_install() {
49 dobin dvbstream dumprtp rtpfeed ts_filter dvbstream-send.pl
50
51 dodoc README*
52
53 insinto /usr/share/doc/${PF}/tune
54 doins TELNET/*.sh
55
56 insinto /usr/share/doc/${PF}/multicast
57 doins *.sh
58 }

  ViewVC Help
Powered by ViewVC 1.1.20