python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / checkpolicy / checkpolicy.mk
blob8328b39ad0ef7bc43c986c47a3a7bff855144b52
1 ################################################################################
3 # checkpolicy
5 ################################################################################
7 CHECKPOLICY_VERSION = 2.6
8 CHECKPOLICY_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014
9 CHECKPOLICY_LICENSE = GPLv2
10 CHECKPOLICY_LICENSE_FILES = COPYING
12 HOST_CHECKPOLICY_DEPENDENCIES = host-libselinux host-flex host-bison
14 HOST_CHECKPOLICY_MAKE_OPTS = $(HOST_CONFIGURE_OPTS) \
15 LEX="$(HOST_DIR)/usr/bin/flex" \
16 YACC="$(HOST_DIR)/usr/bin/bison -y"
18 # DESTDIR is used at build time to find host-libselinux
19 define HOST_CHECKPOLICY_BUILD_CMDS
20 $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CHECKPOLICY_MAKE_OPTS) DESTDIR=$(HOST_DIR)
21 endef
23 define HOST_CHECKPOLICY_INSTALL_CMDS
24 $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CHECKPOLICY_MAKE_OPTS) DESTDIR=$(HOST_DIR) install
25 endef
27 $(eval $(host-generic-package))