summaryrefslogtreecommitdiff
blob: 2ab9839a39ac8e44414f66f299785e4a82699e9d (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/openbox-2.0.0.ebuild,v 1.2 2002/09/03 10:48:03 seemant Exp $

inherit commonbox

S=${WORKDIR}/${P}
DESCRIPTION="Window manager based on BlackBox"
SRC_URI="ftp://sunsite.dk/projects/openbox/${P}.tar.gz"
HOMEPAGE="http://openbox.sunsite.dk"

SLOT="2"
LICENSE="BSD"
KEYWORDS="x86 sparc sparc64"

MYBIN="${PN}"
mydoc="CHANGE* TODO LICENSE data/README*"
myconf="--enable-xinerama"

src_unpack() {

	unpack ${A}
	cd ${S}

	cp Makefile.am Makefile.am.orig
	sed 's/data //' Makefile.am.orig > Makefile.am

	cd ${S}/util
	cp Makefile.am Makefile.am.orig
	sed -e 's/bsetbg//' \
		-e 's/bsetroot//' \
		Makefile.am.orig > Makefile.am
}



src_compile() {

	${S}/bootstrap

	commonise=""
	commonbox_src_compile
}

src_install() {

	commonbox_src_install
	mv ${D}/usr/bin/openbox ${D}/usr/bin/openbox-dev
	mv ${D}/usr/share/man/man1/openbox.1.gz \
		{D}/usr/share/man/man1/openbox-dev.1.gz

}