# Template file for 'davfs2'
pkgname=davfs2
version=1.5.4
revision=1
build_style=gnu-configure
configure_args="dav_user=nobody dav_group=network --enable-largefile"
hostmakedepends="autoconf automake gettext-devel neon-devel"
makedepends="neon-devel"
conf_files="/etc/davfs2/davfs2.conf /etc/davfs2/secrets"
short_desc="File system driver that allows you to mount a WebDAV folder"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="GPL-3"
homepage="http://savannah.nongnu.org/projects/davfs2"
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=c9c4e0f0912a782386216b2147eb9c36c47f193b8fcf3d637719e0b9fe7c96e0
patch_args="-p1"

pre_configure() {
	autoreconf -fi
}

post_install() {
	rm -r ${DESTDIR}/sbin
	rm -r ${DESTDIR}/usr/share/davfs2
}
