bbcbed1829
From now on, packages only need to select the BR2_PACKAGE_GETTEXT option and depend on the 'gettext' package to get the necessary i18n libraries installed on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [yann.morin.1998@free.fr: remove BR2_PACKAGE_LIBINTL] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> CC: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
24 lines
645 B
Makefile
24 lines
645 B
Makefile
#############################################################
|
|
#
|
|
# QUOTA
|
|
#
|
|
#############################################################
|
|
|
|
QUOTA_VERSION = 4.00
|
|
QUOTA_SOURCE = quota-$(QUOTA_VERSION).tar.gz
|
|
QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
|
|
|
|
QUOTA_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
QUOTA_DEPENDENCIES = gettext
|
|
QUOTA_MAKE_OPT += LDFLAGS="$(TARGET_LDFLAGS) -lintl"
|
|
endif
|
|
|
|
# Package uses autoconf but not automake.
|
|
QUOTA_INSTALL_TARGET_OPT = \
|
|
ROOTDIR=$(TARGET_DIR) \
|
|
install
|
|
|
|
$(eval $(autotools-package))
|