1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Linux FUSE (or coda) driver that allows you to mount a WebDAV resource"
7 HOMEPAGE="https://savannah.nongnu.org/projects/davfs2"
8 SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
12 KEYWORDS="~amd64 ~arm ~ppc ~x86"
16 RDEPEND="dev-libs/libxml2
19 nls? ( virtual/libintl virtual/libiconv )
22 nls? ( sys-devel/gettext )
30 # Let the package manager handle man page compression
31 sed -e '/^manual[58]_DATA/ s/\.gz//g' \
32 -i "${S}"/man/Makefile.in || die
34 eapply "${FILESDIR}"/${PN}-1.5.5-gcc-10.patch
40 econf --enable-largefile $(use_enable nls)
47 elog " # gpasswd -a \${your_user} davfs2"
48 elog " # echo 'https://path/to/dav /home/\${your_user}/dav davfs rw,user,noauto 0 0' >> /etc/fstab"
50 elog " \$ mkdir -p ~/dav"
51 elog " \$ mount ~/dav"