libftdi: add explicit dependencies for host variant
[buildroot-gz.git] / package / drbd-utils / drbd-utils.mk
blob88d272952e8d11901a34384e953bf57f3e31a502
1 ################################################################################
3 # drbd-utils
5 ################################################################################
7 DRBD_UTILS_VERSION = 8.9.4
8 DRBD_UTILS_SITE = http://oss.linbit.com/drbd
9 DRBD_UTILS_LICENSE = GPLv2+
10 DRBD_UTILS_LICENSE_FILES = COPYING
11 DRBD_UTILS_DEPENDENCIES = host-flex
13 DRBD_UTILS_CONF_OPTS = --with-distro=generic --without-manual
15 ifeq ($(BR2_INIT_SYSTEMD),y)
16 DRBD_UTILS_CONF_OPTS += --with-initscripttype=systemd
17 DRDB_UTILS_DEPENDENCIES += systemd
18 else
19 DRBD_UTILS_CONF_OPTS += --with-initscripttype=sysv
20 endif
22 ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
23 DRBD_UTILS_CONF_OPTS += --with-udev=yes
24 DRDB_UTILS_DEPENDENCIES += udev
25 else
26 DRBD_UTILS_CONF_OPTS += --with-udev=no
27 endif
29 $(eval $(autotools-package))