1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 251db75a27380cca1330b1b971700c5e5dcc0c90e5a47622285f0140edfe3a2f
10 PKG_DESCR
:= webdav filesystem
12 PKG_DEPENDS
:= fuse-utils neon
13 PKG_BUILDDEP
:= neon fuse
14 PKG_URL
:= http
://savannah.nongnu.org
/projects
/davfs2
/
15 PKG_SITES
:= http
://download.savannah.gnu.org
/releases
/davfs2
/
17 PKG_LIBC_DEPENDS
:= glibc
19 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
21 include ${ADK_TOPDIR}/mk
/package.mk
23 $(eval
$(call PKG_template
,DAVFS2
,davfs2
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 AUTOTOOL_STYLE
:= autoreconf
26 CONFIGURE_ARGS
+= --with-neon
27 CONFIGURE_ENV
+= ac_cv_func_malloc_0_nonnull
=yes
30 ${INSTALL_DIR} ${IDIR_DAVFS2}/etc
/davfs2
31 ${INSTALL_DIR} ${IDIR_DAVFS2}/usr
/sbin
32 $(CP
) ${WRKINST}/etc
/davfs2
/{davfs2.conf
,secrets
} \
33 ${IDIR_DAVFS2}/etc
/davfs2
34 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/mount.davfs \
35 ${IDIR_DAVFS2}/usr
/sbin
36 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/umount.davfs \
37 ${IDIR_DAVFS2}/usr
/sbin
39 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk