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

(-)flvstreamer-2.1a.ebuild (-7 / +8 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-video/flvstreamer/flvstreamer-2.1a.ebuild,v 1.1 2010/01/10 18:37:25 hanno Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-video/flvstreamer/flvstreamer-2.1a.ebuild,v 1.1 2010/01/10 18:37:25 hanno Exp $
4
4
5
EAPI="2"
5
EAPI=2
6
6
7
inherit toolchain-funcs
7
inherit toolchain-funcs
8
8
Lines 14-33 Link Here
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~amd64 ~x86"
15
KEYWORDS="~amd64 ~x86"
16
IUSE=""
16
IUSE=""
17
S="${WORKDIR}/${PN}"
17
18
S=${WORKDIR}/${PN}
18
19
19
src_prepare() {
20
src_prepare() {
20
	#fix Makefile ( bug #298535 )
21
	#fix Makefile ( bug #298535 )
21
	sed -i "s/\$(MAKEFLAGS)/-\$(MAKEFLAGS)/" Makefile \
22
	sed -i -e 's/\$(MAKEFLAGS)//g' Makefile \
22
		|| die "failed to fixe Makefile"
23
		|| die "failed to fix Makefile"
23
}
24
}
24
25
25
src_compile() {
26
src_compile() {
26
	emake CC=$(tc-getCC) CXX=$(tc-getCXX) CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"	\
27
	emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"	\
27
			LDFLAGS="${LDFLAGS}" linux
28
			LDFLAGS="${LDFLAGS}" linux
28
}
29
}
29
30
30
src_install() {
31
src_install() {
31
	dobin {${PN},streams} || die "dobin failed"
32
	dobin ${PN} streams || die
32
	dodoc README ChangeLog || die "dodoc failed"
33
	dodoc README ChangeLog || die
33
}
34
}

Return to bug 318353