d200fabc5a
host-nfs-utils provides the host rpcgen utility. This fixes the build on recent Fedora systems that removed rpcgen from the glibc package. Fixes: http://autobuild.buildroot.net/results/730/730acb23663ebbbaba847073979654670a8bc64c/ http://autobuild.buildroot.net/results/e49/e49932e9d958203d585cdddd795df06aad6ff3a9/ http://autobuild.buildroot.net/results/1b7/1b7dccf7b9742d1b9cb57bffe55eac5cfc66b15c/ Cc: Jarkko Sakkinen <jarkko.sakkinen@intel.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
45 lines
1.4 KiB
Makefile
45 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# quota
|
|
#
|
|
################################################################################
|
|
|
|
QUOTA_VERSION = 4.01
|
|
QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
|
|
QUOTA_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-nfs-utils
|
|
QUOTA_AUTORECONF = YES
|
|
QUOTA_LICENSE = GPL-2.0+
|
|
QUOTA_CONF_OPTS = --disable-strip-binaries
|
|
QUOTA_LIBS = $(TARGET_NLS_LIBS)
|
|
|
|
QUOTA_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
ifeq ($(BR2_PACKAGE_E2FSPROGS),y)
|
|
QUOTA_DEPENDENCIES += e2fsprogs
|
|
QUOTA_CONF_OPTS += --enable-ext2direct
|
|
# quote does not use pkg-config to find e2fsprogs, so it does not know it
|
|
# may require -pthreads in case of static build
|
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
|
|
QUOTA_LIBS += -pthread
|
|
endif
|
|
else
|
|
QUOTA_CONF_OPTS += --disable-ext2direct
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
|
QUOTA_DEPENDENCIES += libtirpc host-pkgconf
|
|
QUOTA_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`
|
|
QUOTA_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`
|
|
endif
|
|
|
|
QUOTA_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(QUOTA_CFLAGS) -D_GNU_SOURCE" LIBS="$(QUOTA_LIBS)"
|
|
QUOTA_CONF_ENV = \
|
|
CFLAGS="$(QUOTA_CFLAGS) -D_GNU_SOURCE" LIBS="$(QUOTA_LIBS)"
|
|
|
|
# Package uses autoconf but not automake.
|
|
QUOTA_INSTALL_TARGET_OPTS = \
|
|
ROOTDIR=$(TARGET_DIR) \
|
|
install
|
|
|
|
$(eval $(autotools-package))
|