2015-03-12 17:33:16 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# drbd-utils
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-09-24 15:36:40 +02:00
|
|
|
DRBD_UTILS_VERSION = 8.9.4
|
2015-09-28 18:10:31 +02:00
|
|
|
DRBD_UTILS_SITE = http://oss.linbit.com/drbd
|
2015-03-12 17:33:16 +01:00
|
|
|
DRBD_UTILS_LICENSE = GPLv2+
|
|
|
|
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
|
|
|
|
DRDB_UTILS_DEPENDENCIES += systemd
|
|
|
|
else
|
|
|
|
DRBD_UTILS_CONF_OPTS += --with-initscripttype=sysv
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
|
|
|
DRBD_UTILS_CONF_OPTS += --with-udev=yes
|
|
|
|
DRDB_UTILS_DEPENDENCIES += udev
|
|
|
|
else
|
|
|
|
DRBD_UTILS_CONF_OPTS += --with-udev=no
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|