1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# quota 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunQUOTA_VERSION = 4.06 8*4882a593SmuzhiyunQUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION) 9*4882a593SmuzhiyunQUOTA_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-nfs-utils 10*4882a593SmuzhiyunQUOTA_LICENSE = GPL-2.0+ 11*4882a593SmuzhiyunQUOTA_LICENSE_FILES = COPYING 12*4882a593SmuzhiyunQUOTA_CPE_ID_VENDOR = jan_kara 13*4882a593SmuzhiyunQUOTA_CPE_ID_PRODUCT = linux_diskquota 14*4882a593SmuzhiyunQUOTA_SELINUX_MODULES = quota 15*4882a593SmuzhiyunQUOTA_CONF_ENV = LIBS="$(TARGET_NLS_LIBS)" 16*4882a593SmuzhiyunQUOTA_CONF_OPTS = --disable-pie 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBNL),yy) 19*4882a593SmuzhiyunQUOTA_DEPENDENCIES += host-pkgconf dbus libnl 20*4882a593SmuzhiyunQUOTA_CONF_OPTS += --enable-netlink 21*4882a593Smuzhiyunelse 22*4882a593SmuzhiyunQUOTA_CONF_OPTS += --disable-netlink 23*4882a593Smuzhiyunendif 24*4882a593Smuzhiyun 25*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_E2FSPROGS),y) 26*4882a593SmuzhiyunQUOTA_DEPENDENCIES += host-pkgconf e2fsprogs 27*4882a593SmuzhiyunQUOTA_CONF_OPTS += --enable-ext2direct 28*4882a593Smuzhiyunelse 29*4882a593SmuzhiyunQUOTA_CONF_OPTS += --disable-ext2direct 30*4882a593Smuzhiyunendif 31*4882a593Smuzhiyun 32*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBTIRPC),y) 33*4882a593SmuzhiyunQUOTA_DEPENDENCIES += libtirpc host-pkgconf 34*4882a593Smuzhiyunendif 35*4882a593Smuzhiyun 36*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_OPENLDAP):$(BR2_STATIC_LIBS),y:) 37*4882a593SmuzhiyunQUOTA_DEPENDENCIES += openldap 38*4882a593SmuzhiyunQUOTA_CONF_OPTS += --enable-ldapmail 39*4882a593Smuzhiyunelse 40*4882a593SmuzhiyunQUOTA_CONF_OPTS += --disable-ldapmail 41*4882a593Smuzhiyunendif 42*4882a593Smuzhiyun 43*4882a593Smuzhiyun$(eval $(autotools-package)) 44