57f2b8d255
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_TARGET_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_TARGET_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
37 lines
1019 B
Makefile
37 lines
1019 B
Makefile
################################################################################
|
|
#
|
|
# quota
|
|
#
|
|
################################################################################
|
|
|
|
QUOTA_VERSION = 4.00
|
|
QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
|
|
QUOTA_DEPENDENCIES = host-gettext
|
|
QUOTA_AUTORECONF = YES
|
|
QUOTA_LICENSE = GPLv2+
|
|
|
|
QUOTA_CFLAGS = $(TARGET_CFLAGS)
|
|
QUOTA_LDFLAGS = $(TARGET_LDFLAGS)
|
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
QUOTA_DEPENDENCIES += gettext
|
|
QUOTA_LDFLAGS += -lintl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
|
QUOTA_DEPENDENCIES += libtirpc
|
|
QUOTA_CFLAGS += -I$(STAGING_DIR)/usr/include/tirpc/
|
|
QUOTA_LDFLAGS += -ltirpc
|
|
endif
|
|
|
|
QUOTA_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(QUOTA_CFLAGS) -D_GNU_SOURCE" LDFLAGS="$(QUOTA_LDFLAGS)"
|
|
QUOTA_CONF_ENV = \
|
|
CFLAGS="$(QUOTA_CFLAGS) -D_GNU_SOURCE" LDFLAGS="$(QUOTA_LDFLAGS)"
|
|
|
|
# Package uses autoconf but not automake.
|
|
QUOTA_INSTALL_TARGET_OPTS = \
|
|
ROOTDIR=$(TARGET_DIR) \
|
|
install
|
|
|
|
$(eval $(autotools-package))
|