# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit toolchain-funcs DESCRIPTION="Open source command-line RTMP client intended to stream audio or video flash content" HOMEPAGE="http://lkcl.net/rtmp/" SRC_URI="http://lkcl.net/rtmp/${P}.tgz" DEPEND="dev-libs/openssl" # both packages provied /usr/bin/streams RDEPEND="!media-video/flvstreamer" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" src_prepare() { #fix Makefile ( bug #298535 ) sed -i "s/\$(MAKEFLAGS)/-\$(MAKEFLAGS)/" Makefile \ || die "failed to fixe Makefile" } src_compile() { emake CC=$(tc-getCC) CXX=$(tc-getCXX) CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" linux } src_install() { dobin {${PN},streams} || die "dobin failed" dodoc README ChangeLog || die "dodoc failed" }