summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>2014-01-19 21:03:59 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2014-01-19 22:14:14 (GMT)
commit1d6b418081015ead1eecb2841a1596f0e33dfaa0 (patch)
tree390a1bc9b3df1ad092011961aecf86bb41d39123
parentcdb6247c3758ee4c4306720522fddc12c23bada8 (diff)
downloadbuildroot-1d6b418081015ead1eecb2841a1596f0e33dfaa0.tar.gz
buildroot-1d6b418081015ead1eecb2841a1596f0e33dfaa0.tar.bz2
libnfs: new package
nfs userspace implementation. This package was originally found at : https://github.com/huceke/buildroot-rbp By gimli <ebsi4711@gmail.com> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: gimli <ebsi4711@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/libnfs/Config.in11
-rw-r--r--package/libnfs/libnfs.mk16
3 files changed, 28 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 749ffea..0bb0d2d 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 0000000..657bdda
--- /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 0000000..a17d8c3
--- /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))