2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-08-03 19:23:01 +02:00
|
|
|
#
|
2013-06-06 01:53:28 +02:00
|
|
|
# fluxbox
|
2011-08-03 19:23:01 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-08-03 19:23:01 +02:00
|
|
|
|
2015-02-09 11:53:50 +01:00
|
|
|
FLUXBOX_VERSION = 1.3.7
|
|
|
|
FLUXBOX_SOURCE = fluxbox-$(FLUXBOX_VERSION).tar.xz
|
2012-08-26 01:52:48 +02:00
|
|
|
FLUXBOX_SITE = http://downloads.sourceforge.net/project/fluxbox/fluxbox/$(FLUXBOX_VERSION)
|
2012-11-30 12:46:29 +01:00
|
|
|
FLUXBOX_LICENSE = MIT
|
|
|
|
FLUXBOX_LICENSE_FILES = COPYING
|
2011-08-03 19:23:01 +02:00
|
|
|
|
2015-01-15 08:21:39 +01:00
|
|
|
FLUXBOX_CONF_OPTS = \
|
|
|
|
--x-includes=$(STAGING_DIR)/usr/include/X11 \
|
|
|
|
--x-libraries=$(STAGING_DIR)/usr/lib
|
2011-08-03 19:23:01 +02:00
|
|
|
FLUXBOX_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
|
2012-12-30 12:33:26 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_IMLIB2_X),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
FLUXBOX_CONF_OPTS += --enable-imlib2 --with-imlib2-prefix=$(STAGING_DIR)/usr
|
2012-12-30 12:33:26 +01:00
|
|
|
FLUXBOX_DEPENDENCIES += imlib2
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
FLUXBOX_CONF_OPTS += --disable-imlib2
|
2012-12-30 12:33:26 +01:00
|
|
|
endif
|
|
|
|
|
2011-10-10 11:21:58 +02:00
|
|
|
define FLUXBOX_INSTALL_XSESSION_FILE
|
2014-11-30 15:18:50 +01:00
|
|
|
$(INSTALL) -m 0755 -D package/fluxbox/xsession \
|
|
|
|
$(TARGET_DIR)/root/.xsession
|
2011-10-10 11:21:58 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
FLUXBOX_POST_INSTALL_TARGET_HOOKS += FLUXBOX_INSTALL_XSESSION_FILE
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|