The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / fluxbox / fluxbox.mk
1 ################################################################################
2 #
3 # fluxbox
4 #
5 ################################################################################
6
7 FLUXBOX_VERSION = 1.3.7
8 FLUXBOX_SOURCE = fluxbox-$(FLUXBOX_VERSION).tar.xz
9 FLUXBOX_SITE = http://downloads.sourceforge.net/project/fluxbox/fluxbox/$(FLUXBOX_VERSION)
10 FLUXBOX_LICENSE = MIT
11 FLUXBOX_LICENSE_FILES = COPYING
12
13 FLUXBOX_CONF_OPTS = \
14         --x-includes=$(STAGING_DIR)/usr/include/X11 \
15         --x-libraries=$(STAGING_DIR)/usr/lib
16 FLUXBOX_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
17
18 ifeq ($(BR2_PACKAGE_IMLIB2_X),y)
19 FLUXBOX_CONF_OPTS += --enable-imlib2 --with-imlib2-prefix=$(STAGING_DIR)/usr
20 FLUXBOX_DEPENDENCIES += imlib2
21 else
22 FLUXBOX_CONF_OPTS += --disable-imlib2
23 endif
24
25 define FLUXBOX_INSTALL_XSESSION_FILE
26         $(INSTALL) -m 0755 -D package/fluxbox/xsession \
27                 $(TARGET_DIR)/root/.xsession
28 endef
29
30 FLUXBOX_POST_INSTALL_TARGET_HOOKS += FLUXBOX_INSTALL_XSESSION_FILE
31
32 $(eval $(autotools-package))