This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

42
package/quota/quota.mk Normal file
View File

@@ -0,0 +1,42 @@
################################################################################
#
# 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)
QUOTA_CONF_OPTS = --disable-pie
ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBNL),yy)
QUOTA_DEPENDENCIES += host-pkgconf dbus libnl
QUOTA_CONF_OPTS += --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
ifeq ($(BR2_PACKAGE_OPENLDAP):$(BR2_STATIC_LIBS),y:)
QUOTA_DEPENDENCIES += openldap
QUOTA_CONF_OPTS += --enable-ldapmail
else
QUOTA_CONF_OPTS += --disable-ldapmail
endif
QUOTA_CONF_ENV = LIBS="$(QUOTA_LIBS)"
$(eval $(autotools-package))