You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.2 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=setools
  7. PKG_VERSION:=4.4.0
  8. PKG_RELEASE:=$(AUTORELEASE)
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  10. PKG_SOURCE_URL:=https://github.com/SELinuxProject/setools/releases/download/$(PKG_VERSION)
  11. PKG_HASH:=f3786677e40b7f16a226f48f233dcf835e700739614a7dbed2ff61cc9607814e
  12. PKG_BUILD_DIR:=$(BUILD_DIR)/setools
  13. HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=Cython # Cython>=0.27
  14. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  15. PKG_LICENSE:=GPL-2.0-or-later LGPL-2.1-or-later
  16. PKG_LICENSE_FILES:=COPYING COPYING.GPL COPYING.LGPL
  17. PKG_CPE_ID:=cpe:/a:selinuxproject:setools
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../../lang/python/python3-package.mk
  20. define Package/setools
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. DEPENDS:=+python3 +python3-pkg-resources +python3-networkx +libselinux +libsepol
  24. TITLE:=Policy analysis tools for SELinux
  25. URL:=http://selinuxproject.org/page/Main_Page
  26. endef
  27. define Package/setools/description
  28. SETools is a collection of tools and libraries designed to facilitate
  29. SELinux policy analysis.
  30. endef
  31. $(eval $(call Py3Package,setools))
  32. $(eval $(call BuildPackage,setools))