From e25b0a509d97b8f164f9f3f7a9eeae3a1a5dac70 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Sun, 8 Jul 2018 15:24:10 +0200 Subject: x11-plugins/wmbinclock: EAPI7, improve ebuild --- x11-plugins/wmbinclock/wmbinclock-0.5-r1.ebuild | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 x11-plugins/wmbinclock/wmbinclock-0.5-r1.ebuild (limited to 'x11-plugins/wmbinclock/wmbinclock-0.5-r1.ebuild') diff --git a/x11-plugins/wmbinclock/wmbinclock-0.5-r1.ebuild b/x11-plugins/wmbinclock/wmbinclock-0.5-r1.ebuild new file mode 100644 index 000000000000..42c26fb2a8c2 --- /dev/null +++ b/x11-plugins/wmbinclock/wmbinclock-0.5-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="a nifty little binary clock dockapp" +HOMEPAGE="https://www.dockapps.net/wmbinclock" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \ + INCDIR="-I/usr/include/X11" LIBDIR="" \ + SYSTEM="${LDFLAGS}" +} + +src_install() { + dobin wmBinClock + dosym wmBinClock /usr/bin/${PN} + dodoc CHANGELOG README +} -- cgit v1.2.3-65-gdbad