1 ################################################################################
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
)
23 define HOST_CHECKPOLICY_INSTALL_CMDS
24 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
) $(HOST_CHECKPOLICY_MAKE_OPTS
) DESTDIR
=$(HOST_DIR
) install
27 $(eval
$(host-generic-package
))