aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/cwm/cwm-6.6.ebuild
blob: 7d75c9c31e11ae55f6a99c0ed9ad5f9f9afb29d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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}
}