summaryrefslogtreecommitdiff
blob: 7791e0484635408b890224bb9e154f0f955e395b (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later

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"

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
}