2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-02 03:40:30 +02:00
|
|
|
#
|
2013-06-06 01:53:28 +02:00
|
|
|
# quota
|
2012-06-02 03:40:30 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-02 03:40:30 +02:00
|
|
|
|
2020-11-13 07:35:35 +01:00
|
|
|
QUOTA_VERSION = 4.06
|
2012-08-26 01:52:48 +02:00
|
|
|
QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
|
2018-05-23 19:44:47 +02:00
|
|
|
QUOTA_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-nfs-utils
|
2017-03-30 15:43:32 +02:00
|
|
|
QUOTA_LICENSE = GPL-2.0+
|
2019-03-29 18:25:27 +01:00
|
|
|
QUOTA_LICENSE_FILES = COPYING
|
2019-12-26 16:05:10 +01:00
|
|
|
QUOTA_CONF_ENV = LIBS="$(TARGET_NLS_LIBS)"
|
2019-04-02 19:18:35 +02:00
|
|
|
QUOTA_CONF_OPTS = --disable-pie
|
2012-11-10 12:42:44 +01:00
|
|
|
|
2019-03-29 18:25:28 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBNL),yy)
|
|
|
|
QUOTA_DEPENDENCIES += host-pkgconf dbus libnl
|
2019-04-01 22:55:16 +02:00
|
|
|
QUOTA_CONF_OPTS += --enable-netlink
|
2019-03-29 18:25:28 +01:00
|
|
|
else
|
|
|
|
QUOTA_CONF_OPTS += --disable-netlink
|
|
|
|
endif
|
|
|
|
|
2016-02-21 00:12:05 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_E2FSPROGS),y)
|
2019-03-29 18:25:27 +01:00
|
|
|
QUOTA_DEPENDENCIES += host-pkgconf e2fsprogs
|
2016-02-21 00:12:05 +01:00
|
|
|
QUOTA_CONF_OPTS += --enable-ext2direct
|
|
|
|
else
|
|
|
|
QUOTA_CONF_OPTS += --disable-ext2direct
|
|
|
|
endif
|
|
|
|
|
2012-11-04 08:34:16 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
2015-07-26 20:45:16 +02:00
|
|
|
QUOTA_DEPENDENCIES += libtirpc host-pkgconf
|
2012-11-04 08:34:16 +01:00
|
|
|
endif
|
|
|
|
|
2019-04-01 19:13:11 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENLDAP):$(BR2_STATIC_LIBS),y:)
|
|
|
|
QUOTA_DEPENDENCIES += openldap
|
|
|
|
QUOTA_CONF_OPTS += --enable-ldapmail
|
|
|
|
else
|
|
|
|
QUOTA_CONF_OPTS += --disable-ldapmail
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|