commit: e25b0a509d97b8f164f9f3f7a9eeae3a1a5dac70 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Sun Jul 8 13:24:10 2018 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Thu Jul 19 13:25:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25b0a50
x11-plugins/wmbinclock: EAPI7, improve ebuild x11-plugins/wmbinclock/wmbinclock-0.5-r1.ebuild | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) 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 00000000000..42c26fb2a8c --- /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 +}