kumquat-buildroot/package/ratpoison/ratpoison.mk
Mario Rugiero a2bfe74f34 ratpoison: new package
Tested with:
nitrogen6sx_defconfig

Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
[Thomas:
 - formatting fixes
 - license is GPL-2.0+, not GPL-2.0
 - explicitly disable xft/xkb support]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-06 22:58:35 +02:00

29 lines
778 B
Makefile

################################################################################
#
# ratpoison
#
################################################################################
RATPOISON_VERSION = 1.4.9
RATPOISON_SOURCE = ratpoison-$(RATPOISON_VERSION).tar.xz
RATPOISON_SITE = http://download.savannah.nongnu.org/releases/ratpoison
RATPOISON_LICENSE = GPL-2.0+
RATPOISON_LICENSE_FILES = COPYING
RATPOISON_CONF_OPTS = \
--x-includes=$(STAGING_DIR)/usr/include/X11 \
--x-libraries=$(STAGING_DIR)/usr/lib \
--without-xkb \
--without-xft
RATPOISON_DEPENDENCIES = xlib_libX11
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
RATPOISON_DEPENDENCIES += xlib_libXrandr
RATPOISON_CONF_OPTS += --with-xrandr
else
RATPOISON_CONF_OPTS += --without-xrandr
endif
$(eval $(autotools-package))