summaryrefslogtreecommitdiff
path: root/packages/fluxbox/fluxbox_0.99+1.0rc.bb
blob: c222edb817a5600e9cf60946c7f70a7b9b6fc857 (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
70
71
72
73
74
75
76
77
78
79
#
# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
# License: MIT (see http://www.opensource.org/licenses/mit-license.php for a copy of the license)
#
# Filename: fluxbox-gpe_1.0rc.bb
# Date: 01-Jul-06

DESCRIPTION = "The Fluxbox WindowManager"
MAINTAINER = "Matthias 'CoreDump' Hentges <oe@hentges.net>"
HOMEPAGE = "http://fluxbox.sourceforge.net"
LICENSE = "MIT"
REALPV = "1.0rc"
PR = "r0"

######################################################################################

S = "${WORKDIR}/fluxbox-${REALPV}"

######################################################################################

SRC_URI = "${SOURCEFORGE_MIRROR}/fluxbox/fluxbox-${REALPV}.tar.gz \
	   file://gpe-init.patch;patch=1 \
	   file://apps.gpe.* \
	   file://style.gpe-default \
	   file://fluxbox-gpe-session \
	   file://fluxbox-gpe.session"

######################################################################################

PACKAGES = "${PN}-gpe ${PN}-styles ${PN}-doc ${PN}"

DESCRIPTION_${PN}-styles = "The default styles for fluxbox"
DESCRIPTION_${PN}-gpe = "The Fluxbox WindowManager for use with GPE"
RDEPENDS_${PN}-gpe = "${PN}"

######################################################################################

FILES_${PN} = "/usr/bin \
	       /usr/share/fluxbox/init \
	       /usr/share/fluxbox/keys \
	       /usr/share/fluxbox/menu "

FILES_${PN}-gpe = "/usr/share/fluxbox/apps.gpe* \
		   /usr/share/fluxbox/styles/gpe-default \
		   /usr/share/fluxbox/session \
		   /usr/bin/fluxbox-gpe-session"

FILES_${PN}-styles = "/usr/share/fluxbox/styles"

FILES_${PN}-doc = "/usr/share/man"

######################################################################################

inherit autotools update-alternatives

######################################################################################

EXTRA_OECONF = "--disable-xmb \
		"

######################################################################################

do_install_append() {
	install -d ${D}/usr/bin
	install -d ${D}/usr/share/fluxbox
	install -d ${D}/usr/share/fluxbox/styles
	
	install -m 0644 ${WORKDIR}/apps.gpe.* ${D}/usr/share/fluxbox
	install -m 0755 ${WORKDIR}/fluxbox-gpe.session ${D}/usr/share/fluxbox/session
	install -m 0644 ${WORKDIR}/style.gpe-default ${D}/usr/share/fluxbox/styles/gpe-default
	install -m 0755 ${WORKDIR}/fluxbox-gpe-session ${D}/usr/bin
}

######################################################################################

ALTERNATIVE_PATH_${PN}-gpe = "${bindir}/fluxbox-gpe-session"
ALTERNATIVE_NAME_${PN}-gpe = "x-window-manager"
ALTERNATIVE_LINK_${PN}-gpe = "${bindir}/x-window-manager"
ALTERNATIVE_PRIORITY_${PN}-gpe = "15"