liburcu: Update to 0.8.6
[feed/packages.git] / net / davfs2 / Makefile
1 #
2 # Copyright (C) 2006-2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=davfs2
11 PKG_VERSION:=1.5.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/davfs2/
16 PKG_MD5SUM:=376bc9346454135cba78afacbcb23f86
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/davfs2
21 SECTION:=net
22 CATEGORY:=Network
23 SUBMENU:=Filesystem
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>
28 endef
29
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.
35
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.
39
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.
43
44 davfs2 will work with most WebDAV servers needing little or no configuration.
45 endef
46
47 define Package/davfs2/conffiles
48 /etc/davfs2/davfs2.conf
49 endef
50
51 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
52
53 CONFIGURE_VARS += \
54 LDFLAGS="$(TARGET_LDFLAGS) -L$(TOOLCHAIN_DIR)/usr/lib -L$(TOOLCHAIN_DIR)/lib"
55
56 CONFIGURE_ARGS += --with-neon="$(STAGING_DIR)/usr"
57
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
65 endef
66
67 $(eval $(call BuildPackage,davfs2))