1a75bb9089
Fixes: - http://autobuild.buildroot.org/results/0de9f2a69fa2a39164211299f8a429d2fec6935a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
36 lines
1015 B
Makefile
36 lines
1015 B
Makefile
################################################################################
|
|
#
|
|
# smartmontools
|
|
#
|
|
################################################################################
|
|
|
|
SMARTMONTOOLS_VERSION = 7.1
|
|
SMARTMONTOOLS_SITE = http://downloads.sourceforge.net/project/smartmontools/smartmontools/$(SMARTMONTOOLS_VERSION)
|
|
SMARTMONTOOLS_LICENSE = GPL-2.0+
|
|
SMARTMONTOOLS_LICENSE_FILES = COPYING
|
|
# We're patching configure.ac
|
|
SMARTMONTOOLS_AUTORECONF = YES
|
|
|
|
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))
|