commit:     592547754ea6ea5a76870d3118cc61a622564ba6
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat May 11 16:35:50 2019 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed May 15 12:11:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59254775

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 <AT> gmail.com>
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>

 media-video/asfrecorder/asfrecorder-1.1-r1.ebuild | 32 +++++++++++++++++++++++
 1 file changed, 32 insertions(+)

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 00000000000..6f6ec886d15
--- /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
+}

Reply via email to