vdr: fix dependency for libintl
[openembedded.git] / recipes / davfs2 / davfs2_0.2.7.bb
blob310ccabb3222e1f7fab9d539d779577afadfa6f3
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.24.7"
6 RDEPENDS_${PN} = "kernel-module-coda"
7 LICENSE = "GPL"
9 PR = "r0"
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 \
15 file://volatiles"
17 inherit autotools
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 () {
29 autoconf
32 do_install_append () {
33 mkdir -p ${D}${sysconfdir}/default/volatiles
34 install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/10_davfs2
37 pkg_postinst () {
38 update-alternatives --install ${ALTERNATIVE_LINK} ${ALTERNATIVE_NAME} \
39 ${ALTERNATIVE_PATH} ${ALTERNATIVE_PRIORITY}
40 /etc/init.d/populate-volatile.sh
43 pkg_prerm () {
44 update-alternatives --remove ${ALTERNATIVE_NAME} ${ALTERNATIVE_PATH}