Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 663804
Collapse All | Expand All

(-)a/media-video/flvstreamer/flvstreamer-2.1c-r1.ebuild (+36 lines)
Line 0 Link Here
1
# Copyright 1999-2018 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
inherit toolchain-funcs
7
8
DESCRIPTION="Open source command-line RTMP client intended to stream audio or video flash content"
9
HOMEPAGE="https://savannah.nongnu.org/projects/flvstreamer/"
10
SRC_URI="mirror://nongnu/${PN}/source/${P}.tar.gz"
11
12
LICENSE="GPL-2"
13
SLOT="0"
14
KEYWORDS="~amd64 ~ppc ~x86"
15
16
S="${WORKDIR}/${PN}"
17
18
src_prepare() {
19
	default
20
	#fix Makefile ( bug #298535 and bug #318353)
21
	sed -i 's/\$(MAKEFLAGS)//g' Makefile \
22
		|| die "failed to fix 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}
35
	dodoc README ChangeLog
36
}

Return to bug 663804