kumquat-buildroot/package/quota/quota.mk
Fabrice Fontaine 47048e6012 package/quota: add optional netlink dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-03-31 14:47:12 +02:00

35 lines
943 B
Makefile

################################################################################
#
# quota
#
################################################################################
QUOTA_VERSION = 4.05
QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
QUOTA_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-nfs-utils
QUOTA_LICENSE = GPL-2.0+
QUOTA_LICENSE_FILES = COPYING
QUOTA_LIBS = $(TARGET_NLS_LIBS)
ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBNL),yy)
QUOTA_DEPENDENCIES += host-pkgconf dbus libnl
QUOTA_CONF_OTS += --enable-netlink
else
QUOTA_CONF_OPTS += --disable-netlink
endif
ifeq ($(BR2_PACKAGE_E2FSPROGS),y)
QUOTA_DEPENDENCIES += host-pkgconf e2fsprogs
QUOTA_CONF_OPTS += --enable-ext2direct
else
QUOTA_CONF_OPTS += --disable-ext2direct
endif
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
QUOTA_DEPENDENCIES += libtirpc host-pkgconf
endif
QUOTA_CONF_ENV = LIBS="$(QUOTA_LIBS)"
$(eval $(autotools-package))