netsnmp: handle libnl dependency properly
[buildroot-gz.git] / package / libxkbcommon / libxkbcommon.mk
blob3a0600b892006ae59f123cd7153386c28b86bec8
1 ################################################################################
3 # libxkbcommon
5 ################################################################################
7 LIBXKBCOMMON_VERSION = 0.7.0
8 LIBXKBCOMMON_SITE = http://xkbcommon.org/download
9 LIBXKBCOMMON_SOURCE = libxkbcommon-$(LIBXKBCOMMON_VERSION).tar.xz
10 LIBXKBCOMMON_LICENSE = MIT/X11
11 LIBXKBCOMMON_LICENSE_FILES = LICENSE
12 LIBXKBCOMMON_INSTALL_STAGING = YES
13 LIBXKBCOMMON_DEPENDENCIES = host-bison host-flex
14 # uses C99 features
15 LIBXKBCOMMON_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
17 ifeq ($(BR2_PACKAGE_XORG7),y)
18 LIBXKBCOMMON_CONF_OPTS += --enable-x11
19 LIBXKBCOMMON_DEPENDENCIES += libxcb
20 else
21 LIBXKBCOMMON_CONF_OPTS += --disable-x11
22 endif
24 $(eval $(autotools-package))