media-sound/tempest_for_eliza: EAPI7 revbump, improve ebuild
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Tue, 4 Sep 2018 18:26:33 +0000 (20:26 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 7 Sep 2018 12:12:14 +0000 (14:12 +0200)
Closes: https://bugs.gentoo.org/665236
Closes: https://github.com/gentoo/gentoo/pull/9778

media-sound/tempest_for_eliza/tempest_for_eliza-1.0.5-r2.ebuild [new file with mode: 0644]

diff --git a/media-sound/tempest_for_eliza/tempest_for_eliza-1.0.5-r2.ebuild b/media-sound/tempest_for_eliza/tempest_for_eliza-1.0.5-r2.ebuild
new file mode 100644 (file)
index 0000000..c1f630a
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Listen to music on the radio generated by images on your screen"
+HOMEPAGE="http://www.erikyyy.de/tempest/"
+SRC_URI="http://www.erikyyy.de/tempest/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="media-libs/libsdl"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       tc-export CXX
+       econf \
+               --enable-debug \
+               --enable-nowarnerror
+}
+
+src_compile() {
+       emake CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+       default
+       rm songs/Makefile* || die
+       insinto /usr/share/${PN}
+       doins songs/*
+}