aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_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>
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
################################################################################
|
|
#
|
|
# nfs-utils
|
|
#
|
|
################################################################################
|
|
|
|
NFS_UTILS_VERSION = 1.2.6
|
|
NFS_UTILS_SOURCE = nfs-utils-$(NFS_UTILS_VERSION).tar.bz2
|
|
NFS_UTILS_SITE = http://downloads.sourceforge.net/project/nfs/nfs-utils/$(NFS_UTILS_VERSION)
|
|
NFS_UTILS_LICENSE = GPLv2+
|
|
NFS_UTILS_LICENSE_FILES = COPYING
|
|
NFS_UTILS_AUTORECONF = YES
|
|
NFS_UTILS_DEPENDENCIES = host-pkgconf
|
|
|
|
NFS_UTILS_CONF_ENV = knfsd_cv_bsd_signals=no
|
|
|
|
NFS_UTILS_CONF_OPTS = \
|
|
--disable-nfsv4 \
|
|
--disable-nfsv41 \
|
|
--disable-gss \
|
|
--disable-uuid \
|
|
--disable-ipv6 \
|
|
--without-tcp-wrappers \
|
|
--with-rpcgen=internal
|
|
|
|
NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPCDEBUG) += usr/sbin/rpcdebug
|
|
NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_LOCKD) += usr/sbin/rpc.lockd
|
|
NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD) += usr/sbin/rpc.rquotad
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
|
NFS_UTILS_CONF_OPTS += --enable-tirpc --with-tirpcinclude=$(STAGING_DIR)/usr/include/tirpc/
|
|
NFS_UTILS_DEPENDENCIES += libtirpc
|
|
else
|
|
NFS_UTILS_CONF_OPTS += --disable-tirpc
|
|
endif
|
|
|
|
define NFS_UTILS_INSTALL_FIXUP
|
|
$(INSTALL) -m 0755 package/nfs-utils/S60nfs \
|
|
$(TARGET_DIR)/etc/init.d/S60nfs
|
|
rm -f $(NFS_UTILS_TARGETS_)
|
|
endef
|
|
|
|
define NFS_UTILS_REMOVE_NFSIOSTAT
|
|
rm -f $(TARGET_DIR)/usr/sbin/nfsiostat
|
|
endef
|
|
|
|
NFS_UTILS_POST_INSTALL_TARGET_HOOKS += NFS_UTILS_INSTALL_FIXUP
|
|
|
|
# nfsiostat is interpreted python, so remove it unless it's in the target
|
|
NFS_UTILS_POST_INSTALL_TARGET_HOOKS += $(if $(BR2_PACKAGE_PYTHON),,NFS_UTILS_REMOVE_NFSIOSTAT)
|
|
|
|
$(eval $(autotools-package))
|