blob: 42d5aadab9a39e9e0503f3fbfdcce87afff00a23 (
plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/awesome-2.3.4.ebuild,v 1.6 2009/03/08 19:38:18 gentoofan23 Exp $
EAPI="2"
inherit toolchain-funcs eutils
DESCRIPTION="A dynamic floating and tiling window manager"
HOMEPAGE="http://awesome.naquadah.org/"
SRC_URI="http://awesome.naquadah.org/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
IUSE="doc gtk"
RDEPEND=">=dev-libs/confuse-2.6
x11-libs/cairo[X]
x11-libs/pango
x11-libs/libX11
x11-libs/libXrandr
x11-libs/libXinerama
gtk? ( x11-libs/gtk+ )
!gtk? ( media-libs/imlib2 )"
DEPEND="${RDEPEND}
app-text/asciidoc
app-text/xmlto
dev-util/pkgconfig
x11-proto/xineramaproto
doc? (
app-doc/doxygen
media-gfx/graphviz
)"
src_configure() {
econf \
$(use_with gtk) \
--docdir="/usr/share/doc/${PF}"
}
src_compile() {
default
if use doc; then
emake doc || die
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
exeinto /etc/X11/Sessions
newexe "${FILESDIR}"/${PN}-session ${PN}
insinto /usr/share/xsessions
doins "${FILESDIR}"/${PN}.desktop
insinto /usr/share/awesome/icons
doins -r icons/*
if use doc; then
dohtml doc/html/*
fi
prepalldocs
}
|