xref: /OK3568_Linux_fs/buildroot/package/x11r7/xapp_xload/xapp_xload.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# xapp_xload
4#
5################################################################################
6
7XAPP_XLOAD_VERSION = 1.1.4
8XAPP_XLOAD_SOURCE = xload-$(XAPP_XLOAD_VERSION).tar.xz
9XAPP_XLOAD_SITE = http://xorg.freedesktop.org/releases/individual/app
10XAPP_XLOAD_LICENSE = MIT
11XAPP_XLOAD_LICENSE_FILES = COPYING
12XAPP_XLOAD_DEPENDENCIES = xlib_libXaw $(TARGET_NLS_DEPENDENCIES)
13XAPP_XLOAD_CONF_OPTS = --with-appdefaultdir=/usr/share/X11/app-defaults
14XAPP_XLOAD_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
15
16ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
17# musl doesn't have rwhod.h, but xload can replace it with stubs
18XAPP_XLOAD_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -DRLOADSTUB"
19endif
20
21ifeq ($(BR2_SYSTEM_ENABLE_NLS),)
22XAPP_XLOAD_CONF_ENV += ac_cv_search_gettext=no
23endif
24
25$(eval $(autotools-package))
26