Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 666886
Collapse All | Expand All

(-)a/x11-wm/larswm/larswm-7.5.3-r2.ebuild (+52 lines)
Line 0 Link Here
1
# Copyright 1999-2018 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
inherit toolchain-funcs
7
8
DESCRIPTION="Tiling window manager for X11, based on 9wm by David Hogan"
9
HOMEPAGE="http://www.fnurt.net/larswm/"
10
SRC_URI="http://www.fnurt.net/larswm/${P}.tar.gz"
11
LICENSE="9wm"
12
13
SLOT="0"
14
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
15
16
RDEPEND="x11-libs/libX11
17
	x11-libs/libXmu
18
	x11-libs/libXt
19
	x11-libs/libXext"
20
DEPEND="${RDEPEND}
21
	x11-base/xorg-proto
22
	x11-misc/imake
23
	x11-misc/gccmakedep
24
	app-text/rman"
25
26
src_configure() {
27
	xmkmf -a || die
28
}
29
30
src_compile() {
31
	emake \
32
		CC=$(tc-getCC) \
33
		CCOPTIONS="${CFLAGS}" \
34
		EXTRA_LDOPTIONS="${LDFLAGS}"
35
}
36
37
src_install() {
38
	dobin larsclock larsmenu larsremote larswm
39
	newbin sample.xsession larswm-session
40
	local x
41
	for x in *.man; do
42
		newman ${x} ${x/man/1}
43
	done
44
	dodoc ChangeLog README* sample.*
45
46
	insinto /etc/X11
47
	newins sample.larswmrc larswmrc
48
	exeinto /etc/X11/Sessions
49
	newexe sample.xsession larswm
50
	insinto /usr/share/xsessions
51
	doins "${FILESDIR}"/larswm.desktop
52
}

Return to bug 666886