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
|
|
|
|
2014-10-08 16:48:52 +02:00
|
|
|
QUOTA_VERSION = 4.01
|
2012-08-26 01:52:48 +02:00
|
|
|
QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
|
2013-04-03 02:50:41 +02:00
|
|
|
QUOTA_DEPENDENCIES = host-gettext
|
2012-11-10 12:42:44 +01:00
|
|
|
QUOTA_AUTORECONF = YES
|
2014-07-02 14:40:04 +02:00
|
|
|
QUOTA_LICENSE = GPLv2+
|
2014-10-08 19:58:25 +02:00
|
|
|
QUOTA_CONF_OPTS = --disable-strip-binaries
|
2012-11-10 12:42:44 +01:00
|
|
|
|
2012-11-04 08:34:16 +01:00
|
|
|
QUOTA_CFLAGS = $(TARGET_CFLAGS)
|
2012-06-02 03:40:30 +02:00
|
|
|
|
2012-06-28 16:56:45 +02:00
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
2013-05-13 03:01:07 +02:00
|
|
|
QUOTA_DEPENDENCIES += gettext
|
2014-11-09 14:30:54 +01:00
|
|
|
QUOTA_LIBS += -lintl
|
2012-06-28 16:56:45 +02:00
|
|
|
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
|
2015-07-29 11:48:56 +02:00
|
|
|
QUOTA_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`
|
|
|
|
QUOTA_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`
|
2012-11-04 08:34:16 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-09 14:30:54 +01:00
|
|
|
QUOTA_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(QUOTA_CFLAGS) -D_GNU_SOURCE" LIBS="$(QUOTA_LIBS)"
|
2012-11-10 12:42:44 +01:00
|
|
|
QUOTA_CONF_ENV = \
|
2014-11-09 14:30:54 +01:00
|
|
|
CFLAGS="$(QUOTA_CFLAGS) -D_GNU_SOURCE" LIBS="$(QUOTA_LIBS)"
|
2012-11-04 08:34:16 +01:00
|
|
|
|
2012-06-02 03:40:30 +02:00
|
|
|
# Package uses autoconf but not automake.
|
2014-09-27 21:32:40 +02:00
|
|
|
QUOTA_INSTALL_TARGET_OPTS = \
|
2012-06-02 03:40:30 +02:00
|
|
|
ROOTDIR=$(TARGET_DIR) \
|
|
|
|
install
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|