kumquat-buildroot/package/dmidecode/dmidecode.mk
Maxime Chevallier 205f03d1b8 package/dmidecode: add SELinux refpolicy module
Dmidecode provides 4 tools, for which support for SELinux is provided by
the admin/dmidecode refpolicy module.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-03-16 23:10:33 +01:00

23 lines
678 B
Makefile

################################################################################
#
# dmidecode
#
################################################################################
DMIDECODE_VERSION = 3.3
DMIDECODE_SOURCE = dmidecode-$(DMIDECODE_VERSION).tar.xz
DMIDECODE_SITE = http://download.savannah.gnu.org/releases/dmidecode
DMIDECODE_LICENSE = GPL-2.0+
DMIDECODE_LICENSE_FILES = LICENSE
DMIDECODE_SELINUX_MODULES = dmidecode
define DMIDECODE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef
define DMIDECODE_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) prefix=/usr DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))