ti-syslink 2.00.00.78: import from meta-ti
[openembedded.git] / recipes / davfs2 / davfs2_0.2.8.bb
blob6cdef4b8716fcbaeb209cca2283b2f9e7bcb1a91
1 DESCRIPTION = "A Linux file system driver that allows you to mount a WebDAV server as a disk drive."
2 SECTION = "network"
3 PRIORITY = "optional"
4 HOMEPAGE = "http://dav.sourceforge.net"
5 DEPENDS = "neon-0.25.5"
6 RDEPENDS_${PN} = "kernel-module-coda"
7 LICENSE = "GPL"
9 PR = "r2"
11 SRC_URI = "${SOURCEFORGE_MIRROR}/dav/${P}.tar.gz \
12 file://Makefile.in.patch \
13 file://volatiles"
15 inherit autotools
17 ALTERNATIVE_NAME = "mount.davfs"
18 ALTERNATIVE_PATH = "${sbindir}/${ALTERNATIVE_NAME}"
19 ALTERNATIVE_PRIORITY = "90"
20 ALTERNATIVE_LINK = "${base_sbindir}/${ALTERNATIVE_NAME}"
22 EXTRA_OECONF = "--with-neon"
24 CONFFILES_${PN} = "${sysconfdir}/davfs2/davfs2.conf ${sysconfdir}/davfs2/secrets"
26 do_configure_prepend () {
27 autoconf
30 do_install_append () {
31 mkdir -p ${D}${sysconfdir}/default/volatiles
32 install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/10_davfs2
35 pkg_postinst () {
36 update-alternatives --install ${ALTERNATIVE_LINK} ${ALTERNATIVE_NAME} \
37 ${ALTERNATIVE_PATH} ${ALTERNATIVE_PRIORITY}
38 /etc/init.d/populate-volatile.sh update
41 pkg_prerm () {
42 update-alternatives --remove ${ALTERNATIVE_NAME} ${ALTERNATIVE_PATH}
45 SRC_URI[md5sum] = "586bdead055993a4a06bdeee5449310d"
46 SRC_URI[sha256sum] = "04f98a83e6339f490046d908c0fcca1275e79462f11592187eb23c7368a172f1"