kumquat-buildroot/package/smartmontools/smartmontools.mk
Fabrice Fontaine a3d4f83e5a package/smartmontools: bump to version 7.2
Drop patch (already in version) and so autoreconf

https://www.smartmontools.org/browser/tags/RELEASE_7_2/smartmontools/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-04-04 12:30:26 +02:00

35 lines
998 B
Makefile

################################################################################
#
# smartmontools
#
################################################################################
SMARTMONTOOLS_VERSION = 7.2
SMARTMONTOOLS_SITE = http://downloads.sourceforge.net/project/smartmontools/smartmontools/$(SMARTMONTOOLS_VERSION)
SMARTMONTOOLS_LICENSE = GPL-2.0+
SMARTMONTOOLS_LICENSE_FILES = COPYING
SMARTMONTOOLS_CPE_ID_VENDOR = smartmontools
ifeq ($(BR2_PACKAGE_LIBCAP_NG),y)
SMARTMONTOOLS_CONF_OPTS += --with-libcap-ng
SMARTMONTOOLS_DEPENDENCIES += libcap-ng
else
SMARTMONTOOLS_CONF_OPTS += --without-libcap-ng
endif
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
SMARTMONTOOLS_CONF_OPTS += --with-selinux
SMARTMONTOOLS_DEPENDENCIES += libselinux
else
SMARTMONTOOLS_CONF_OPTS += --without-selinux
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
SMARTMONTOOLS_CONF_OPTS += --with-libsystemd
SMARTMONTOOLS_DEPENDENCIES += systemd
else
SMARTMONTOOLS_CONF_OPTS += --without-libsystemd
endif
$(eval $(autotools-package))