blob: f4bf9e5c58696ee4c7ae8cb18e80920018481b74 [file] [log] [blame]
Alexandre Belloni8dfd59d2013-06-05 23:53:30 +00001################################################################################
Jarkko Sakkinenda1884f2012-06-02 01:40:30 +00002#
Alexandre Belloni966e0052013-06-05 23:53:28 +00003# quota
Jarkko Sakkinenda1884f2012-06-02 01:40:30 +00004#
Alexandre Belloni8dfd59d2013-06-05 23:53:30 +00005################################################################################
Jarkko Sakkinenda1884f2012-06-02 01:40:30 +00006
Fabrice Fontaine540797f2019-03-29 18:25:27 +01007QUOTA_VERSION = 4.05
Stefan Fröberg23ef45c2012-08-26 02:52:48 +03008QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
Baruch Siachd200fab2018-05-23 20:44:47 +03009QUOTA_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-nfs-utils
Rahul Bedarkaraf31c302017-03-30 19:13:32 +053010QUOTA_LICENSE = GPL-2.0+
Fabrice Fontaine540797f2019-03-29 18:25:27 +010011QUOTA_LICENSE_FILES = COPYING
Fabrice Fontaine4f1ff8d2019-12-24 09:06:25 +010012# We're patching configure.ac
13QUOTA_AUTORECONF = YES
Fabrice Fontaine7dc84d32019-12-26 12:01:22 +010014QUOTA_GETTEXTIZE = YES
Fabrice Fontaine93935822019-12-26 16:05:10 +010015QUOTA_CONF_ENV = LIBS="$(TARGET_NLS_LIBS)"
Fabrice Fontainefeef4b72019-04-02 19:18:35 +020016QUOTA_CONF_OPTS = --disable-pie
Thomas Petazzoni96bdfdf2012-11-10 11:42:44 +000017
Fabrice Fontaine47048e62019-03-29 18:25:28 +010018ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBNL),yy)
19QUOTA_DEPENDENCIES += host-pkgconf dbus libnl
Fabrice Fontaine259d7a22019-04-01 22:55:16 +020020QUOTA_CONF_OPTS += --enable-netlink
Fabrice Fontaine47048e62019-03-29 18:25:28 +010021else
22QUOTA_CONF_OPTS += --disable-netlink
23endif
24
Bernd Kuhls0d592e62016-02-21 00:12:05 +010025ifeq ($(BR2_PACKAGE_E2FSPROGS),y)
Fabrice Fontaine540797f2019-03-29 18:25:27 +010026QUOTA_DEPENDENCIES += host-pkgconf e2fsprogs
Bernd Kuhls0d592e62016-02-21 00:12:05 +010027QUOTA_CONF_OPTS += --enable-ext2direct
28else
29QUOTA_CONF_OPTS += --disable-ext2direct
30endif
31
Thomas Petazzonic5fc0902012-11-04 07:34:16 +000032ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
Thomas De Schampheleirea2732e12015-07-26 20:45:16 +020033QUOTA_DEPENDENCIES += libtirpc host-pkgconf
Thomas Petazzonic5fc0902012-11-04 07:34:16 +000034endif
35
Fabrice Fontaine67793672019-04-01 19:13:11 +020036ifeq ($(BR2_PACKAGE_OPENLDAP):$(BR2_STATIC_LIBS),y:)
37QUOTA_DEPENDENCIES += openldap
38QUOTA_CONF_OPTS += --enable-ldapmail
39else
40QUOTA_CONF_OPTS += --disable-ldapmail
41endif
42
Arnout Vandecappelle (Essensium/Mind)e1502eb2012-07-03 00:07:32 +020043$(eval $(autotools-package))