blob: b32c216cd1336d75b25c87c3e4039da51105f22d (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/openbox-3.0.ebuild,v 1.4 2003/12/06 22:17:07 tseng Exp $
S=${WORKDIR}/${P/_/-}
DESCRIPTION="Openbox is a standards compliant, fast, light-weight, extensible window manager."
SRC_URI="http://icculus.org/openbox/releases/${P/_/-}.tar.gz
mirror://gentoo/ob-themes-usability.tar.bz2"
HOMEPAGE="http://icculus.org/openbox/"
IUSE="nls"
SLOT="3"
DEPEND="virtual/xft
virtual/x11
>=dev-libs/glib-2
>=media-libs/fontconfig-2
>=dev-libs/libxml2-2.0"
RDEPEND=${DEPEND}
LICENSE="GPL-2"
KEYWORDS="x86 ~ppc ~sparc"
src_compile() {
econf \
`use_enable nls` \
--program-suffix="3" || die
emake || die
}
src_install () {
dodir /etc/X11/Sessions
echo "/usr/bin/openbox3" > ${D}/etc/X11/Sessions/openbox3
fperms a+x /etc/X11/Sessions/openbox3
make DESTDIR=${D} install || die
dodoc README AUTHORS ChangeLog TODO
# Extra styles from http://home.clara.co.uk/dpb/openbox.htm
# These are included due to the poor usability of the default themes
# for users with limited vision. These are based on Jimmac's
# Gorilla and Industrial themes for Metacity.
dodir /usr/share/themes
cp -a ${WORKDIR}/ob-themes-usability/* ${D}/usr/share/themes
}
|