2 # Copyright (C) 2006-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://download.savannah.gnu.org
/releases
/davfs2
/
16 PKG_MD5SUM
:=376bc9346454135cba78afacbcb23f86
18 include $(INCLUDE_DIR
)/package.mk
24 DEPENDS
=+libopenssl
+libneon
+libiconv
+libintl
+libexpat
+kmod-fuse
+libfuse
25 TITLE
:=Mount a WebDAV resource
as a regular file system.
26 URL
:=http
://savannah.nongnu.org
/projects
/davfs2
/
27 MAINTAINER
:=Federico Di Marco
<fededim@gmail.com
>
30 define Package
/davfs2
/description
31 Web Distributed Authoring and Versioning
(WebDAV
), an extension to the HTTP-protocol
,
32 allows authoring of resources on a remote web server.davfs2 provides the ability to
33 access such resources like a typical filesystem
, allowing for use by standard
34 applications with no built-in support for WebDAV.
36 davfs2 is designed to fully integrate into the filesystem semantics of Unix-like
37 systems
(mount
, umount
, etc.
). davfs2 makes mounting by unprivileged users
as easy
38 and secure
as possible.
40 davfs2 does extensive caching to make the file system responsive
, to avoid
41 unnecessary network traffic and to prevent data loss
, and to cope for slow or
42 unreliable connections.
44 davfs2 will work with most WebDAV servers needing little or no configuration.
47 define Package
/davfs2
/conffiles
48 /etc
/davfs2
/davfs2.conf
51 TARGET_CFLAGS
+= -I
$(STAGING_DIR
)/usr
/include
54 LDFLAGS
="$(TARGET_LDFLAGS) -L$(TOOLCHAIN_DIR)/usr/lib -L$(TOOLCHAIN_DIR)/lib"
56 CONFIGURE_ARGS
+= --with-neon
="$(STAGING_DIR)/usr"
58 define Package
/davfs2
/install
59 $(INSTALL_DIR
) $(1)/usr
/sbin
60 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/mount.davfs
$(1)/usr
/sbin
/
61 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/umount.davfs
$(1)/usr
/sbin
/
62 $(INSTALL_DIR
) $(1)/etc
63 $(INSTALL_DIR
) $(1)/etc
/davfs2
64 $(INSTALL_DATA
) files
/$(PKG_NAME
).conf
$(1)/etc
/davfs2
67 $(eval
$(call BuildPackage
,davfs2
))