blob: 8e907e1700b0489627d1e8144eec1b4a8938e246 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/awesome-2.3.3.ebuild,v 1.1 2008/07/29 16:21:00 matsuu Exp $
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/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_compile() {
econf \
$(use_with gtk) \
--docdir="/usr/share/doc/${PF}" || die
emake || die
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
}
|