summaryrefslogtreecommitdiff
blob: a0b1ec0f7f1d65d1b65329b5ae16b3fd461b39d9 (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
63
64
65
66
67
68
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/oroborus-extras/oroborus-extras-2.0.18.ebuild,v 1.3 2007/08/03 18:05:56 gustavoz Exp $

inherit eutils

DESCRIPTION="Other stuff for oroborus"
SRC_URI="http://www.oroborus.org/debian/dists/sid/main/source/x11/keylaunch_1.3.3.tar.gz
	http://www.oroborus.org/debian/dists/sid/main/source/x11/deskmenu_1.4.2.tar.gz
	http://www.oroborus.org/debian/dists/sid/main/source/x11/desklaunch_1.1.5.tar.gz"
HOMEPAGE="http://www.oroborus.org/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc sparc ~x86"
IUSE=""

RDEPEND="x11-wm/oroborus
	>=x11-libs/gtk+-2"
DEPEND="${RDEPEND}"

S="${WORKDIR}"

src_compile() {
# Deskmenu first
	echo "building deskmenu"
	cd ${S}/deskmenu-1.4.2
	./configure --prefix=/usr --sysconfdir=/etc/X11/oroborus --infodir=/usr/share/info --mandir=/usr/share/man
	make || die

# Keylaunch next
	echo "building keylaunch"
	cd ${S}/keylaunch-1.3.3
	./configure --prefix=/usr --sysconfdir=/etc/X11/oroborus
	--infodir=/usr/share/info --mandir=/usr/share/man
	make || die

# Desklaunch last
	echo "building desklaunch"
	cd ${S}/desklaunch-1.1.5
	make PREFIX=/usr || die
}

src_install () {
	dodir /usr/bin

# Deskmenu first
	cd ${S}/deskmenu-1.4.2
	make prefix=${D}/usr sysconfdir=${D}/etc/X11/oroborus infodir=${D}/usr/share/info mandir=${D}/usr/share/man install || die

	newdoc README README.deskmenu
	newdoc CHANGES.deskmenu
	newdoc example_rc example_rc.deskmenu

# Keylaunch next
	cd ${S}/keylaunch-1.3.3
	make PREFIX=${D}/usr install || die

	newdoc README README.keylaunch
	newdoc LICENSE LICENSE.keylaunch
	newdoc example_rc example_rc.keylaunch

# Desklaunch last
	cd ${S}/desklaunch-1.1.5
	make PREFIX=${D}/usr install || die

	newdoc README README.desklaunch
}