diff --git a/package/Config.in b/package/Config.in index 749ffeafd5..0bb0d2df41 100644 --- a/package/Config.in +++ b/package/Config.in @@ -514,6 +514,7 @@ source "package/libconfig/Config.in" source "package/libconfuse/Config.in" source "package/libfuse/Config.in" source "package/liblockfile/Config.in" +source "package/libnfs/Config.in" source "package/libsysfs/Config.in" source "package/lockdev/Config.in" endmenu diff --git a/package/libnfs/Config.in b/package/libnfs/Config.in new file mode 100644 index 0000000000..657bdda7d5 --- /dev/null +++ b/package/libnfs/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_LIBNFS + bool "libnfs" + depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC + depends on BR2_LARGEFILE + help + nfs userspace implementation. + + http://github.com/sahlberg/libnfs + +comment "libnfs needs a toolchain w/ RPC and LARGEFILE" + depends on !(BR2_TOOLCHAIN_HAS_NATIVE_RPC && BR2_LARGEFILE) diff --git a/package/libnfs/libnfs.mk b/package/libnfs/libnfs.mk new file mode 100644 index 0000000000..a17d8c3210 --- /dev/null +++ b/package/libnfs/libnfs.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# libnfs +# +################################################################################ + +LIBNFS_VERSION = libnfs-1.8.0 +LIBNFS_SITE = $(call github,sahlberg,libnfs,$(LIBNFS_VERSION)) +LIBNFS_INSTALL_STAGING = YES +LIBNFS_AUTORECONF = YES +LIBNFS_MAKE = $(MAKE1) +LIBNFS_LICENSE = LGPLv2.1+ +LIBNFS_LICENSE_FILES = LICENCE-LGPL-2.1.txt +LIBNFS_DEPENDENCIES = host-pkgconf + +$(eval $(autotools-package))