2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-09-30 22:41:41 +02:00
|
|
|
#
|
|
|
|
# xfsprogs
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2016-12-18 15:56:47 +01:00
|
|
|
XFSPROGS_VERSION = 4.8.0
|
|
|
|
XFSPROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/fs/xfs/xfsprogs
|
|
|
|
XFSPROGS_SOURCE = xfsprogs-$(XFSPROGS_VERSION).tar.xz
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2012-03-22 10:34:56 +01:00
|
|
|
XFSPROGS_DEPENDENCIES = util-linux
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2012-03-22 10:34:56 +01:00
|
|
|
XFSPROGS_CONF_ENV = ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes
|
2014-09-27 21:32:44 +02:00
|
|
|
XFSPROGS_CONF_OPTS = \
|
2012-03-22 10:34:56 +01:00
|
|
|
--enable-lib64=no \
|
|
|
|
--enable-gettext=no \
|
|
|
|
INSTALL_USER=root \
|
2014-12-16 22:40:53 +01:00
|
|
|
INSTALL_GROUP=root \
|
|
|
|
--enable-static
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2017-02-26 12:19:03 +01:00
|
|
|
# xfsprogs links some of its programs to libs from util-linux, which use
|
|
|
|
# i18n functions. For shared-only builds, that's automatically pulled in.
|
|
|
|
# Static builds need some help, though...
|
|
|
|
#
|
|
|
|
# No need to depend on gettext in this case: xfsprogs does not use it for
|
|
|
|
# itself; util-linux does need it and has it in its own dependencies.
|
|
|
|
#
|
|
|
|
# xfsprogs' buildsystem uses hand-made Makefiles, not automake, and they
|
|
|
|
# do not use the LIBS variable set by configure. So we use EXTRALIBS that
|
|
|
|
# is added by our patch.
|
|
|
|
#
|
|
|
|
# It is not needed to propagate the EXTRALIBS to the install step.
|
|
|
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS)$(BR2_NEEDS_GETTEXT_IF_LOCALE),yy)
|
|
|
|
XFSPROGS_CONF_OPTS += LIBS=-lintl
|
|
|
|
XFSPROGS_MAKE_OPTS = EXTRALIBS=-lintl
|
|
|
|
endif
|
|
|
|
|
2014-09-27 21:32:40 +02:00
|
|
|
XFSPROGS_INSTALL_TARGET_OPTS = DIST_ROOT=$(TARGET_DIR) install
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|