summaryrefslogtreecommitdiff
blob: 18992e8e9072bc1fcde58061d21467fee7c4e335 (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
# 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_beta1.ebuild,v 1.1 2003/09/04 03:48:47 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"
HOMEPAGE="http://icculus.org/openbox/"
IUSE="nls"
SLOT="3"

DEPEND="virtual/xft
	virtual/x11
	>=dev-libs/glib-2
	>=x11-libs/gtk+-2
	>=gnome-base/libglade-2"
RDEPEND=${DEPEND}

LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc"

src_compile() {

	econf \
		`use_enable nls` \
		--program-suffix="3" || die
	emake || die
}

src_install () {

	make DESTDIR=${D} install || die
	dodoc README AUTHORS ChangeLog TODO
}

pkg_postinst () {
	einfo "A few more small changes to the configs and themes."
	einfo "Your rc3 and menu should move to rc.xml and menu.xml respectively."
	einfo "Please check out the examples in /usr/share/openbox/ before running."
}