media-video/vdrtools-genindex: eapi 7; license, homepage fixed
authorJoerg Bornkessel <hd_brummy@gentoo.org>
Sat, 25 Jan 2020 18:19:08 +0000 (19:19 +0100)
committerJoerg Bornkessel <hd_brummy@gentoo.org>
Sat, 25 Jan 2020 18:19:08 +0000 (19:19 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
media-video/vdrtools-genindex/vdrtools-genindex-0.1.3-r2.ebuild [new file with mode: 0644]

diff --git a/media-video/vdrtools-genindex/vdrtools-genindex-0.1.3-r2.ebuild b/media-video/vdrtools-genindex/vdrtools-genindex-0.1.3-r2.ebuild
new file mode 100644 (file)
index 0000000..d326121
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+SCRIPT="genindex"
+
+DESCRIPTION="VDR: genindex Script"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="http://www.muempf.de/down/${SCRIPT}-${PV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~x86"
+
+S=${WORKDIR}/${SCRIPT}-${PV}
+
+DOCS=( README )
+
+src_prepare() {
+       # respect LDFLAGS
+       sed -i Makefile \
+               -e "s:\$(CXXFLAGS) \$^:\$(CXXFLAGS) \$(LDFLAGS) \$^:" || die
+
+       default
+}
+
+src_install() {
+       dobin genindex
+       einstalldocs
+}