blob: c770cbe1139882826e8b0864d6617d6bc4646f9e (
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
|
# 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.2.ebuild,v 1.1 2008/03/24 17:15:15 matsuu Exp $
inherit toolchain-funcs eutils
MY_P="${P/_rc/-rc}"
DESCRIPTION="awesome is a window manager initialy based on a dwm code rewriting"
HOMEPAGE="http://awesome.naquadah.org/"
SRC_URI="http://awesome.naquadah.org/download/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
RDEPEND=">=dev-libs/confuse-2.6
x11-libs/cairo
x11-libs/libX11
x11-libs/libXext
x11-libs/libXft
x11-libs/libXrandr
x11-libs/libXinerama"
DEPEND="${RDEPEND}
app-text/asciidoc
app-text/xmlto
app-doc/doxygen
dev-util/pkgconfig
x11-proto/xineramaproto"
S="${WORKDIR}/${MY_P}"
src_compile() {
econf --docdir="/usr/share/doc/${PF}" || die
emake || die
}
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/layouts
doins icons/layouts/*
prepalldocs
}
|