From: Michael Mair-Keimberger Date: Sat, 11 May 2019 16:35:50 +0000 (+0200) Subject: media-video/asfrecorder: update DESCRIPTION, EAPI=7 update X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=592547754ea6ea5a76870d3118cc61a622564ba6;p=gentoo.git media-video/asfrecorder: update DESCRIPTION, EAPI=7 update Closes: https://bugs.gentoo.org/685640 Closes: https://github.com/gentoo/gentoo/pull/11972 Signed-off-by: Michael Mair-Keimberger Signed-off-by: Michael Palimaka --- diff --git a/media-video/asfrecorder/asfrecorder-1.1-r1.ebuild b/media-video/asfrecorder/asfrecorder-1.1-r1.ebuild new file mode 100644 index 000000000000..6f6ec886d15f --- /dev/null +++ b/media-video/asfrecorder/asfrecorder-1.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_PN="${PN/asfr/ASFR}" +DESCRIPTION="Linux WindowsMedia streaming client" +HOMEPAGE="https://sourceforge.net/projects/asfrecorder/" +SRC_URI="mirror://sourceforge/${PN}/${MY_PN}.zip" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~ppc-macos" + +BDEPEND="app-arch/unzip" + +S=${WORKDIR}/${MY_PN} + +src_compile() { + # There is a Makefile, but it only works for Cygwin, so we + # only compile this single program. + cd "${S}"/source || die + $(tc-getCC) -o ${PN} ${CFLAGS} ${LDFLAGS} ${PN}.c || die "Build failed" +} + +src_install () { + # Again, no makefiles, so just take what we want. + dobin source/${PN} + dodoc README.TXT +}