kumquat-buildroot/package/fluxbox/fluxbox.mk
Yegor Yefremov b87f2942f0 fluxbox: add xsession profile
add .xsession profile to get fluxbox being started automatically
by XDM.

[Peter: Only install if not available in skeleton, use install -D,
	Make it an executable script and don't hide it]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-07 21:11:57 +01:00

24 lines
747 B
Makefile

#############################################################
#
# FLUXBOX
#
#############################################################
FLUXBOX_VERSION = 1.3.1
FLUXBOX_SOURCE = fluxbox-$(FLUXBOX_VERSION).tar.bz2
FLUXBOX_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/fluxbox/
FLUXBOX_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
--x-libraries=$(STAGING_DIR)/usr/lib
FLUXBOX_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
define FLUXBOX_INSTALL_XSESSION_FILE
[ -f $(TARGET_DIR)/root/.xsession ] || $(INSTALL) -m 0755 -D \
package/fluxbox/xsession $(TARGET_DIR)/root/.xsession
endef
FLUXBOX_POST_INSTALL_TARGET_HOOKS += FLUXBOX_INSTALL_XSESSION_FILE
$(eval $(call AUTOTARGETS))