summaryrefslogtreecommitdiff
blob: c5541c5db2ede7e24ad1634c7798b25d2305c1f5 (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
69
# Copyright 1999-2005 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.1-r1.ebuild,v 1.17 2005/03/07 15:21:24 gustavoz Exp $

S=${WORKDIR}
DESCRIPTION="Other stuff for oroborus"
SRC_URI="http://www.kensden.pwp.blueyonder.co.uk/Oroborus/files/deskmenu-1.3.0.tar.gz
	 http://www.kensden.pwp.blueyonder.co.uk/Oroborus/files/keylaunch-1.3.0.tar.gz
	 http://www.kensden.pwp.blueyonder.co.uk/Oroborus/files/desklaunch-1.1.0.tar.gz"
HOMEPAGE="http://www.kensden.pwp.blueyonder.co.uk/Oroborus/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc ppc"
IUSE=""

DEPEND="x11-wm/oroborus
		=x11-libs/gtk+-1.2*"


src_unpack() {

	unpack ${A}

	cd ${S}/keylaunch
	sed -e 's:/usr/X11:/usr/X11R6:' Makefile |cat >Makefile
}

src_compile() {

# Deskmenu first
	cd ${S}/deskmenu-1.3.0
	make PREFIX=/usr || die

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

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

src_install () {

	dodir /usr/bin

# Deskmenu first
	cd ${S}/deskmenu-1.3.0
	make PREFIX=${D}/usr install || die

	newdoc README README.deskmenu
	newdoc CHANGES CHANGES.deskmenu
	newdoc example_rc example_rc.deskmenu
	dodoc LICENSE

# Keylaunch next
	cd ${S}/keylaunch
	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
	make PREFIX=${D}/usr install || die

	newdoc README README.desklaunch
}