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
|
|
|
|
2013-12-20 11:55:16 +01:00
|
|
|
FLUXBOX_VERSION = 1.3.5
|
2011-08-03 19:23:01 +02:00
|
|
|
FLUXBOX_SOURCE = fluxbox-$(FLUXBOX_VERSION).tar.bz2
|
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
|
|
|
|
2012-12-30 12:33:26 +01:00
|
|
|
FLUXBOX_AUTORECONF = YES
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
FLUXBOX_CONF_OPTS = --x-includes=$(STAGING_DIR)/usr/include/X11 \
|
2011-08-03 19:23:01 +02:00
|
|
|
--x-libraries=$(STAGING_DIR)/usr/lib
|
|
|
|
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
|
|
|
|
[ -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
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|