diff options
Diffstat (limited to 'packages/fluxbox/fluxbox-gpe_1.0rc.bb')
-rw-r--r-- | packages/fluxbox/fluxbox-gpe_1.0rc.bb | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/packages/fluxbox/fluxbox-gpe_1.0rc.bb b/packages/fluxbox/fluxbox-gpe_1.0rc.bb new file mode 100644 index 0000000000..6becbe365d --- /dev/null +++ b/packages/fluxbox/fluxbox-gpe_1.0rc.bb @@ -0,0 +1,77 @@ +# +# 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 for use with GPE" +MAINTAINER = "Matthias 'CoreDump' Hentges <oe@hentges.net>" +HOMEPAGE = "http://fluxbox.sourceforge.net" +LICENSE = "MIT" +RCONFLICTS = "fluxbox" + +###################################################################################### + +PR = "r0" +S = "${WORKDIR}/fluxbox-${PV}" + +###################################################################################### + +SRC_URI = "http://switch.dl.sourceforge.net/sourceforge/fluxbox/fluxbox-${PV}.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} ${PN}-styles" + +DESCRIPTION_${PN}-styles = "The default styles for fluxbox" + +###################################################################################### + +FILES_${PN} = "/usr/bin \ + /usr/share/fluxbox/init \ + /usr/share/fluxbox/keys \ + /usr/share/fluxbox/menu \ + /usr/share/fluxbox/apps.gpe \ + /usr/share/fluxbox/session \ + /usr/share/fluxbox/styles/gpe-default" + +FILES_${PN}-styles = "/usr/share/fluxbox/styles" + +###################################################################################### + +inherit autotools + +###################################################################################### + +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 +} + +###################################################################################### + +pkg_postinst_${PN}() { + update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/fluxbox-gpe-session 15 +} + +pkg_postrm_${PN}() { + update-alternatives --remove x-window-manager /usr/bin/fluxbox-gpe-session +} + |