From 90b60b5044587535e792ed5410acbf10a76963e7 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Mon, 13 Jan 2020 15:59:49 +0100 Subject: Initial import --- x11-wm/cwm/cwm-6.6.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 x11-wm/cwm/cwm-6.6.ebuild (limited to 'x11-wm/cwm/cwm-6.6.ebuild') diff --git a/x11-wm/cwm/cwm-6.6.ebuild b/x11-wm/cwm/cwm-6.6.ebuild new file mode 100644 index 0000000..7d75c9c --- /dev/null +++ b/x11-wm/cwm/cwm-6.6.ebuild @@ -0,0 +1,32 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils toolchain-funcs + +DESCRIPTION="OpenBSD fork of calmwm, a clean and lightweight window manager" +HOMEPAGE="http://www.openbsd.org/cgi-bin/cvsweb/xenocara/app/cwm/ + https://github.com/leahneukirchen/cwm" +SRC_URI="http://leahneukirchen.org/releases/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="amd64 arm x86" + +BDEPEND=" + virtual/pkgconfig" +DEPEND="x11-libs/libXft + x11-libs/libXinerama + x11-libs/libXrandr" +RDEPEND="${DEPEND}" + +src_compile() { + emake CFLAGS="${CFLAGS} -D_GNU_SOURCE" CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + dodoc README + make_session_desktop ${PN} ${PN} +} -- cgit v1.2.3-2-gb3c3