2015-03-12 17:33:16 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# drbd-utils
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-10-25 16:54:29 +01:00
|
|
|
DRBD_UTILS_VERSION = 9.15.0
|
2018-02-01 10:37:04 +01:00
|
|
|
DRBD_UTILS_SITE = http://www.linbit.com/downloads/drbd/utils
|
2017-03-30 15:43:32 +02:00
|
|
|
DRBD_UTILS_LICENSE = GPL-2.0+
|
2015-03-12 17:33:16 +01:00
|
|
|
DRBD_UTILS_LICENSE_FILES = COPYING
|
2015-04-05 17:26:12 +02:00
|
|
|
DRBD_UTILS_DEPENDENCIES = host-flex
|
2015-03-12 17:33:16 +01:00
|
|
|
|
2015-09-24 15:36:40 +02:00
|
|
|
DRBD_UTILS_CONF_OPTS = --with-distro=generic --without-manual
|
2015-03-12 17:33:16 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
|
|
|
DRBD_UTILS_CONF_OPTS += --with-initscripttype=systemd
|
2017-02-07 09:45:04 +01:00
|
|
|
DRBD_UTILS_DEPENDENCIES += systemd
|
2015-03-12 17:33:16 +01:00
|
|
|
else
|
|
|
|
DRBD_UTILS_CONF_OPTS += --with-initscripttype=sysv
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
|
|
|
DRBD_UTILS_CONF_OPTS += --with-udev=yes
|
2017-02-07 09:45:04 +01:00
|
|
|
DRBD_UTILS_DEPENDENCIES += udev
|
2015-03-12 17:33:16 +01:00
|
|
|
else
|
|
|
|
DRBD_UTILS_CONF_OPTS += --with-udev=no
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|