commit:     6d160ce01198be32d89ff21b9f4ebd5b4ba8fd25
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Sep 18 17:00:05 2023 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 20:37:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d160ce0

x11-plugins/wmpop3: EAPI8 bump

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

 x11-plugins/wmpop3/wmpop3-0.5.6a-r2.ebuild | 41 ++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/x11-plugins/wmpop3/wmpop3-0.5.6a-r2.ebuild 
b/x11-plugins/wmpop3/wmpop3-0.5.6a-r2.ebuild
new file mode 100644
index 000000000000..7571699de25f
--- /dev/null
+++ b/x11-plugins/wmpop3/wmpop3-0.5.6a-r2.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 for checking pop3 accounts"
+HOMEPAGE="https://www.dockapps.net/wmpop3";
+SRC_URI="https://www.dockapps.net/download/${P/wmpop3/WMPop3}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+
+DEPEND="x11-wm/windowmaker
+       x11-libs/libXpm"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-list.patch
+       "${FILESDIR}"/${P}-fno-common.patch
+       )
+
+src_prepare() {
+       sed -e "s|cc |$(tc-getCC) |" \
+               -e "s|-O2|${CFLAGS}|" \
+               -e "s|-o wmpop3|${LDFLAGS} -o wmpop3|" \
+               -i ${PN}/Makefile || die
+
+       default
+}
+
+src_compile() {
+       emake -C wmpop3
+}
+
+src_install() {
+       dobin wmpop3/wmpop3
+       dodoc CHANGE_LOG README
+}

Reply via email to