diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-05-11 18:35:50 +0200 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2019-05-15 22:11:15 +1000 |
commit | 592547754ea6ea5a76870d3118cc61a622564ba6 (patch) | |
tree | c64f0162eeb12de411cde198fad15e855dbc678a /media-video/asfrecorder | |
parent | media-video/asfrecorder: update DESCRIPTION (diff) | |
download | gentoo-592547754ea6ea5a76870d3118cc61a622564ba6.tar.gz gentoo-592547754ea6ea5a76870d3118cc61a622564ba6.tar.bz2 gentoo-592547754ea6ea5a76870d3118cc61a622564ba6.zip |
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 <m.mairkeimberger@gmail.com>
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'media-video/asfrecorder')
-rw-r--r-- | media-video/asfrecorder/asfrecorder-1.1-r1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
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 +} |