summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-07-08 15:24:10 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2018-07-19 15:25:23 +0200
commite25b0a509d97b8f164f9f3f7a9eeae3a1a5dac70 (patch)
treeed3b84328426417f6b2955a7aa838ce047ba33f9 /x11-plugins/wmbinclock
parentx11-plugins/wmbinclock: use HTTPs (diff)
downloadgentoo-e25b0a509d97b8f164f9f3f7a9eeae3a1a5dac70.tar.gz
gentoo-e25b0a509d97b8f164f9f3f7a9eeae3a1a5dac70.tar.bz2
gentoo-e25b0a509d97b8f164f9f3f7a9eeae3a1a5dac70.zip
x11-plugins/wmbinclock: EAPI7, improve ebuild
Diffstat (limited to 'x11-plugins/wmbinclock')
-rw-r--r--x11-plugins/wmbinclock/wmbinclock-0.5-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
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
+}