1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00
openwrt-packages/utils/setools/Makefile
Rosen Penev 21f19a4cab setools: fix compilation with python 3.9
Don't warn on deprecated declarations.

Rename warning patch. It's specific to foritfy-headers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-28 22:37:43 -07:00

42 lines
1.2 KiB
Makefile

#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=setools
PKG_VERSION:=4.3.0
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://github.com/SELinuxProject/setools/releases/download/4.3.0
PKG_HASH:=315df3ae0eb29b399123c5e3330480c5d1c0da038671c9fd62a439c49a6f9105
PKG_BUILD_DIR:=$(BUILD_DIR)/setools
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=Cython # Cython>=0.27
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
PKG_LICENSE:=GPL-2.0-or-later LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING COPYING.GPL COPYING.LGPL
PKG_CPE_ID:=cpe:/a:selinuxproject:setools
include $(INCLUDE_DIR)/package.mk
include ../../lang/python/python3-package.mk
define Package/setools
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+python3 +python3-pkg-resources +python3-networkx +libselinux +libsepol
TITLE:=Policy analysis tools for SELinux
URL:=http://selinuxproject.org/page/Main_Page
endef
define Package/setools/description
SETools is a collection of tools and libraries designed to facilitate
SELinux policy analysis.
endef
$(eval $(call Py3Package,setools))
$(eval $(call BuildPackage,setools))