Alexandre Belloni | 8dfd59d | 2013-06-05 23:53:30 +0000 | [diff] [blame] | 1 | ################################################################################ |
Jarkko Sakkinen | da1884f | 2012-06-02 01:40:30 +0000 | [diff] [blame] | 2 | # |
Alexandre Belloni | 966e005 | 2013-06-05 23:53:28 +0000 | [diff] [blame] | 3 | # quota |
Jarkko Sakkinen | da1884f | 2012-06-02 01:40:30 +0000 | [diff] [blame] | 4 | # |
Alexandre Belloni | 8dfd59d | 2013-06-05 23:53:30 +0000 | [diff] [blame] | 5 | ################################################################################ |
Jarkko Sakkinen | da1884f | 2012-06-02 01:40:30 +0000 | [diff] [blame] | 6 | |
Fabrice Fontaine | 540797f | 2019-03-29 18:25:27 +0100 | [diff] [blame] | 7 | QUOTA_VERSION = 4.05 |
Stefan Fröberg | 23ef45c | 2012-08-26 02:52:48 +0300 | [diff] [blame] | 8 | QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION) |
Baruch Siach | d200fab | 2018-05-23 20:44:47 +0300 | [diff] [blame] | 9 | QUOTA_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-nfs-utils |
Rahul Bedarkar | af31c30 | 2017-03-30 19:13:32 +0530 | [diff] [blame] | 10 | QUOTA_LICENSE = GPL-2.0+ |
Fabrice Fontaine | 540797f | 2019-03-29 18:25:27 +0100 | [diff] [blame] | 11 | QUOTA_LICENSE_FILES = COPYING |
Fabrice Fontaine | 4f1ff8d | 2019-12-24 09:06:25 +0100 | [diff] [blame] | 12 | # We're patching configure.ac |
| 13 | QUOTA_AUTORECONF = YES |
Fabrice Fontaine | 7dc84d3 | 2019-12-26 12:01:22 +0100 | [diff] [blame] | 14 | QUOTA_GETTEXTIZE = YES |
Fabrice Fontaine | 9393582 | 2019-12-26 16:05:10 +0100 | [diff] [blame] | 15 | QUOTA_CONF_ENV = LIBS="$(TARGET_NLS_LIBS)" |
Fabrice Fontaine | feef4b7 | 2019-04-02 19:18:35 +0200 | [diff] [blame] | 16 | QUOTA_CONF_OPTS = --disable-pie |
Thomas Petazzoni | 96bdfdf | 2012-11-10 11:42:44 +0000 | [diff] [blame] | 17 | |
Fabrice Fontaine | 47048e6 | 2019-03-29 18:25:28 +0100 | [diff] [blame] | 18 | ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBNL),yy) |
| 19 | QUOTA_DEPENDENCIES += host-pkgconf dbus libnl |
Fabrice Fontaine | 259d7a2 | 2019-04-01 22:55:16 +0200 | [diff] [blame] | 20 | QUOTA_CONF_OPTS += --enable-netlink |
Fabrice Fontaine | 47048e6 | 2019-03-29 18:25:28 +0100 | [diff] [blame] | 21 | else |
| 22 | QUOTA_CONF_OPTS += --disable-netlink |
| 23 | endif |
| 24 | |
Bernd Kuhls | 0d592e6 | 2016-02-21 00:12:05 +0100 | [diff] [blame] | 25 | ifeq ($(BR2_PACKAGE_E2FSPROGS),y) |
Fabrice Fontaine | 540797f | 2019-03-29 18:25:27 +0100 | [diff] [blame] | 26 | QUOTA_DEPENDENCIES += host-pkgconf e2fsprogs |
Bernd Kuhls | 0d592e6 | 2016-02-21 00:12:05 +0100 | [diff] [blame] | 27 | QUOTA_CONF_OPTS += --enable-ext2direct |
| 28 | else |
| 29 | QUOTA_CONF_OPTS += --disable-ext2direct |
| 30 | endif |
| 31 | |
Thomas Petazzoni | c5fc090 | 2012-11-04 07:34:16 +0000 | [diff] [blame] | 32 | ifeq ($(BR2_PACKAGE_LIBTIRPC),y) |
Thomas De Schampheleire | a2732e1 | 2015-07-26 20:45:16 +0200 | [diff] [blame] | 33 | QUOTA_DEPENDENCIES += libtirpc host-pkgconf |
Thomas Petazzoni | c5fc090 | 2012-11-04 07:34:16 +0000 | [diff] [blame] | 34 | endif |
| 35 | |
Fabrice Fontaine | 6779367 | 2019-04-01 19:13:11 +0200 | [diff] [blame] | 36 | ifeq ($(BR2_PACKAGE_OPENLDAP):$(BR2_STATIC_LIBS),y:) |
| 37 | QUOTA_DEPENDENCIES += openldap |
| 38 | QUOTA_CONF_OPTS += --enable-ldapmail |
| 39 | else |
| 40 | QUOTA_CONF_OPTS += --disable-ldapmail |
| 41 | endif |
| 42 | |
Arnout Vandecappelle (Essensium/Mind) | e1502eb | 2012-07-03 00:07:32 +0200 | [diff] [blame] | 43 | $(eval $(autotools-package)) |