/[gentoo-x86]/media-video/flvstreamer/flvstreamer-2.1c.ebuild
Gentoo

Contents of /media-video/flvstreamer/flvstreamer-2.1c.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sun Feb 27 10:24:50 2011 UTC (9 years, 5 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
Marked ~ppc wrt #3350153. Thanks to Michael Jorgenson <Jorgenson@cf.ac.uk> for report and testing.

(Portage version: 2.2.0_alpha25/cvs/Linux ppc64)

1 xarthisius 1.4 # Copyright 1999-2011 Gentoo Foundation
2 hwoarang 1.1 # Distributed under the terms of the GNU General Public License v2
3 xarthisius 1.4 # $Header: /var/cvsroot/gentoo-x86/media-video/flvstreamer/flvstreamer-2.1c.ebuild,v 1.3 2010/07/17 09:13:32 fauli Exp $
4 hwoarang 1.1
5     EAPI="2"
6    
7     inherit toolchain-funcs
8    
9     DESCRIPTION="Open source command-line RTMP client intended to stream audio or video flash content"
10     HOMEPAGE="http://savannah.nongnu.org/projects/flvstreamer/"
11     SRC_URI="mirror://nongnu/${PN}/source/${P}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 xarthisius 1.4 KEYWORDS="amd64 ~ppc x86"
16 hwoarang 1.1 IUSE=""
17     S="${WORKDIR}/${PN}"
18    
19     src_prepare() {
20     #fix Makefile ( bug #298535 and bug #318353)
21     sed -i 's/\$(MAKEFLAGS)//g' Makefile \
22     || die "failed to fixe Makefile"
23     }
24    
25     src_compile() {
26     emake CC="$(tc-getCC)" \
27     CXX="$(tc-getCXX)" \
28     CFLAGS="${CFLAGS} `sed -n 's/DEF=\(.*\)/\1/p' Makefile`" \
29     CXXFLAGS="${CXXFLAGS}" \
30     LDFLAGS="${LDFLAGS}" linux
31     }
32    
33     src_install() {
34     dobin {${PN},streams} || die "dobin failed"
35     dodoc README ChangeLog || die "dodoc failed"
36     }

  ViewVC Help
Powered by ViewVC 1.1.20