1 ################################################################################
5 ################################################################################
8 SEPOLGEN_SITE
= https
://raw.githubusercontent.com
/wiki
/SELinuxProject
/selinux
/files
/releases
/20161014
9 SEPOLGEN_LICENSE
= GPLv2
10 SEPOLGEN_LICENSE_FILES
= COPYING
12 ifeq ($(BR2_PACKAGE_PYTHON3
),y
)
13 HOST_SEPOLGEN_DEPENDENCIES
= host-python3
14 HOST_SEPOLGEN_MAKE_CMDS
= $(HOST_CONFIGURE_OPTS
) \
15 PYTHONLIBDIR
=/usr
/lib
/python
$(PYTHON3_VERSION_MAJOR
)/site-packages
17 HOST_SEPOLGEN_DEPENDENCIES
= host-python
18 HOST_SEPOLGEN_MAKE_CMDS
= $(HOST_CONFIGURE_OPTS
) \
19 PYTHONLIBDIR
=/usr
/lib
/python
$(PYTHON_VERSION_MAJOR
)/site-packages
22 define HOST_SEPOLGEN_BUILD_CMDS
23 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
) $(HOST_SEPOLGEN_MAKE_CMDS
) DESTDIR
=$(HOST_DIR
)
26 define HOST_SEPOLGEN_INSTALL_CMDS
27 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
) $(HOST_SEPOLGEN_MAKE_CMDS
) DESTDIR
=$(HOST_DIR
) install
30 $(eval
$(host-generic-package
))