[oe-commits] org.oe.oz354x fluxbox: Add fluxbox_svn since the rc snaps are not updated very often

coredump commit openembedded-commits at lists.openembedded.org
Sat Oct 21 18:47:04 UTC 2006


fluxbox: Add fluxbox_svn since the rc snaps are not updated very often

Author: coredump at openembedded.org
Branch: org.openembedded.oz354x
Revision: 0d0629de9777062382a0a356574e8834f444b48c
ViewMTN: http://monotone.openembedded.org/revision.psp?id=0d0629de9777062382a0a356574e8834f444b48c
Files:
1
packages/fluxbox/fluxbox_svn.bb
Diffs:

#
# mt diff -r95bc32611066f6a8e2c6a2b534b10e30aec1e39a -r0d0629de9777062382a0a356574e8834f444b48c
#
# 
# 
# add_file "packages/fluxbox/fluxbox_svn.bb"
#  content [5c05ca358f539393415420bb962973e6d7b4e73b]
# 
============================================================
--- packages/fluxbox/fluxbox_svn.bb	5c05ca358f539393415420bb962973e6d7b4e73b
+++ packages/fluxbox/fluxbox_svn.bb	5c05ca358f539393415420bb962973e6d7b4e73b
@@ -0,0 +1,97 @@
+#
+# Copyright Matthias Hentges <devel at 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 at hentges.net>"
+HOMEPAGE = "http://fluxbox.sourceforge.net"
+LICENSE = "MIT"
+
+PV = "1.0+svn${CVSDATE}"
+PR = "r2"
+
+######################################################################################
+
+S = "${WORKDIR}/trunk"
+
+######################################################################################
+
+SRC_URI = "svn://svn.berlios.de/fluxbox;module=trunk \
+	   file://gpe-init.patch;patch=1 \
+	   file://apps.gpe.* \
+	   file://style.gpe-default \
+	   file://fluxbox-gpe-session \
+	   file://fluxbox-gpe.session \
+	   file://keys.* \
+	   file://keylaunchrc.fluxbox \
+	   file://gpe-logout.fluxbox"
+
+######################################################################################
+
+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/keys.* \
+		   /usr/bin/gpe-logout.fluxbox \
+		   /etc/keylaunchrc.fluxbox \
+		   /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
+
+######################################################################################
+
+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 -d ${D}/etc
+	
+	install -m 0644 ${WORKDIR}/apps.gpe.* ${D}/usr/share/fluxbox
+	install -m 0644 ${WORKDIR}/keys.* ${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
+	install -m 0755 ${WORKDIR}/gpe-logout.fluxbox ${D}/usr/bin	
+	install -m 0644 ${WORKDIR}/keylaunchrc.fluxbox ${D}/etc	
+}
+
+######################################################################################
+
+pkg_postinst_${PN}-gpe() { 
+       update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/fluxbox-gpe-session 15
+       update-alternatives --install /usr/bin/gpe-logout gpe-logout /usr/bin/gpe-logout.fluxbox  15
+       update-alternatives --install /etc/keylaunchrc keylaunchrc /etc/keylaunchrc.fluxbox 15
+}
+
+pkg_postrm_${PN}-gpe() {   
+       update-alternatives --remove x-window-manager /usr/bin/fluxbox-gpe-session
+       update-alternatives --remove gpe-logout /usr/bin/gpe-logout.fluxbox
+       update-alternatives --remove keylaunchrc /etc/keylaunchrc.fluxbox
+}






More information about the Openembedded-commits mailing list