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)
|
|
|
|
QUOTA_LDFLAGS = $(TARGET_LDFLAGS)
|
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
|
2012-11-04 08:34:16 +01:00
|
|
|
QUOTA_LDFLAGS += -lintl
|
2012-06-28 16:56:45 +02:00
|
|
|
endif
|
|
|
|
|
2012-11-04 08:34:16 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
|
|
|
QUOTA_DEPENDENCIES += libtirpc
|
|
|
|
QUOTA_CFLAGS += -I$(STAGING_DIR)/usr/include/tirpc/
|
|
|
|
QUOTA_LDFLAGS += -ltirpc
|
|
|
|
endif
|
|
|
|
|
2014-09-27 21:32:38 +02:00
|
|
|
QUOTA_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(QUOTA_CFLAGS) -D_GNU_SOURCE" LDFLAGS="$(QUOTA_LDFLAGS)"
|
2012-11-10 12:42:44 +01:00
|
|
|
QUOTA_CONF_ENV = \
|
|
|
|
CFLAGS="$(QUOTA_CFLAGS) -D_GNU_SOURCE" LDFLAGS="$(QUOTA_LDFLAGS)"
|
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))
|