media-video/asfrecorder: update DESCRIPTION, EAPI=7 update
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Sat, 11 May 2019 16:35:50 +0000 (18:35 +0200)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 15 May 2019 12:11:15 +0000 (22:11 +1000)
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>
media-video/asfrecorder/asfrecorder-1.1-r1.ebuild [new file with mode: 0644]

diff --git a/media-video/asfrecorder/asfrecorder-1.1-r1.ebuild b/media-video/asfrecorder/asfrecorder-1.1-r1.ebuild
new file mode 100644 (file)
index 0000000..6f6ec88
--- /dev/null
@@ -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
+}