1################################################################################
2#
3# libnfs
4#
5################################################################################
6
7LIBNFS_VERSION = 5.0.3
8LIBNFS_SITE = $(call github,sahlberg,libnfs,libnfs-$(LIBNFS_VERSION))
9LIBNFS_INSTALL_STAGING = YES
10LIBNFS_AUTORECONF = YES
11LIBNFS_LICENSE = LGPL-2.1+ (library), BSD-2-Clause (protocol, .x files), GPL-3.0+ (examples)
12LIBNFS_LICENSE_FILES = COPYING LICENCE-BSD.txt LICENCE-LGPL-2.1.txt LICENCE-GPL-3.txt
13LIBNFS_DEPENDENCIES = host-pkgconf
14
15ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
16LIBNFS_DEPENDENCIES += libtirpc
17endif
18
19ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
20LIBNFS_CONF_OPTS += --enable-pthread
21else
22LIBNFS_CONF_OPTS += --disable-pthread
23endif
24
25$(eval $(autotools-package))
26