2012-06-02 03:40:30 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# QUOTA
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
|
|
|
QUOTA_VERSION = 4.00
|
|
|
|
QUOTA_SOURCE = quota-$(QUOTA_VERSION).tar.gz
|
2012-08-26 01:52:48 +02:00
|
|
|
QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
|
2012-06-02 03:40:30 +02:00
|
|
|
|
2012-11-10 12:42:44 +01:00
|
|
|
QUOTA_AUTORECONF = YES
|
|
|
|
|
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)
|
2012-09-16 14:57:49 +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
|
|
|
|
|
|
|
|
QUOTA_MAKE_OPT = $(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.
|
|
|
|
QUOTA_INSTALL_TARGET_OPT = \
|
|
|
|
ROOTDIR=$(TARGET_DIR) \
|
|
|
|
install
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|