1 DESCRIPTION
= "A Linux file system driver that allows you to mount a WebDAV server as a disk drive."
4 HOMEPAGE
= "http://dav.sourceforge.net"
5 DEPENDS
= "neon-0.24.7"
6 RDEPENDS_$
{PN
} = "kernel-module-coda"
11 SRC_URI
= "${SOURCEFORGE_MIRROR}/dav/${P}.tar.gz \
12 file://no-func-checks.patch;patch=1 \
13 file://no-neon-version-test.patch;patch=1 \
14 file://Makefile.in.patch;patch=1 \
19 ALTERNATIVE_NAME
= "mount.davfs"
20 ALTERNATIVE_PATH
= "${sbindir}/${ALTERNATIVE_NAME}"
21 ALTERNATIVE_PRIORITY
= "90"
22 ALTERNATIVE_LINK
= "${base_sbindir}/${ALTERNATIVE_NAME}"
24 EXTRA_OECONF
= "--with-neon"
26 CONFFILES_$
{PN
} = "${sysconfdir}/davfs2/davfs2.conf ${sysconfdir}/davfs2/secrets"
28 do_configure_prepend
() {
32 do_install_append
() {
33 mkdir
-p $
{D
}$
{sysconfdir
}/default/volatiles
34 install
-m
644 $
{WORKDIR
}/volatiles $
{D
}$
{sysconfdir
}/default/volatiles
/10_davfs2
38 update
-alternatives
--install $
{ALTERNATIVE_LINK
} $
{ALTERNATIVE_NAME
} \
39 $
{ALTERNATIVE_PATH
} $
{ALTERNATIVE_PRIORITY
}
40 /etc
/init.d
/populate
-volatile.sh
44 update
-alternatives
--remove $
{ALTERNATIVE_NAME
} $
{ALTERNATIVE_PATH
}