2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
8 PKG_NAME
:=semodule-utils
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
13 PKG_SOURCE_URL
:=https
://github.com
/SELinuxProject
/selinux
/releases
/download
/$(PKG_VERSION
)
14 PKG_HASH
:=c9a550a737051ebaf2c102f665c7ec2f85e7232870980aa0067998459b414283
16 PKG_MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
17 PKG_LICENSE
:=GPL-2.0
-only
18 PKG_LICENSE_FILES
:=LICENSE
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/semodule-utils
/Default
29 TITLE
:=SELinux policy module utility
30 URL
:=http
://selinuxproject.org
/page
/Main_Page
33 define Package
/semodule-utils
/Default
/description
34 semodule-utils is a collection of utilities for dealing with policy
38 define Package
/semodule-utils
39 $(call Package
/semodule-utils
/Default
)
48 define Package
/semodule-utils
/description
49 $(call Package
/semodule-utils
/Default
/description
)
51 This is a meta-package that installs
all of the semodule-utils tools.
54 Package
/semodule-utils
/install:=:
57 define Package
/semodule-
$(1)
58 $(call Package
/semodule-utils
/Default
)
62 define Package
/semodule-
$(1)/description
63 $(call Package
/semodule-utils
/Default
/description
)
65 This contains the semodule_
$(1) tool.
68 define Package
/semodule-
$(1)/install
69 $$(INSTALL_DIR
) $$(1)/usr
/bin
70 $$(INSTALL_BIN
) $$(PKG_INSTALL_DIR
)/usr
/bin
/semodule_
$(1) $$(1)/usr
/bin
/
73 $$(eval
$$(call BuildPackage
,semodule-
$(1)))
76 $(eval
$(call BuildPackage
,semodule-utils
))
78 $(eval
$(call BuildUtil
,expand
))
79 $(eval
$(call BuildUtil
,link
))
80 $(eval
$(call BuildUtil
,package
))
81 $(eval
$(call BuildUtil
,unpackage
))