commit:     3b2b4a41daf956cb87f44ff7dbe75ed48b679990
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Sep 18 17:08:33 2023 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 20:37:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b2b4a41

x11-plugins/wmtz: EAPI8 bump

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 x11-plugins/wmtz/wmtz-0.7_p20150816-r1.ebuild | 41 +++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/x11-plugins/wmtz/wmtz-0.7_p20150816-r1.ebuild 
b/x11-plugins/wmtz/wmtz-0.7_p20150816-r1.ebuild
new file mode 100644
index 000000000000..e1f37b53111b
--- /dev/null
+++ b/x11-plugins/wmtz/wmtz-0.7_p20150816-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Dockapp that shows the time in multiple timezones"
+HOMEPAGE="https://www.dockapps.net/wmtz";
+# https://www.dockapps.net/download/${P}.tar.gz
+SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz";
+S="${WORKDIR}/${P}/${PN}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND=">=x11-libs/libdockapp-0.7:=
+       x11-libs/libX11
+       x11-libs/libXext
+       x11-libs/libXpm"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       default
+       #Honour Gentoo LDFLAGS, see bug #337890.
+       sed -e "s/\$(FLAGS) -o wmtz/\$(LDFLAGS) -o wmtz/" -i Makefile || die
+}
+
+src_compile() {
+       emake CC="$(tc-getCC)" FLAGS="${CFLAGS}" \
+               LIBDIR="-L/usr/$(get_libdir)"
+}
+
+src_install() {
+       dobin ${PN}
+       doman ${PN}.1
+       insinto /etc
+       doins wmtzrc
+       dodoc ../{BUGS,CHANGES,README}
+}

Reply via email to