# Description: File system driver that allows you to mount a WebDAV folder
# URL: https://savannah.nongnu.org/projects/davfs2
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: neon

name=davfs2
version=1.7.0
release=1
source=(http://mirror.easyname.at/nongnu/$name/$name-$version.tar.gz)

build() {
  cd $name-$version
  dav_user=nobody dav_group=network

  # allow neon version 31
  sed -i 's/29 30/29 30 31/g' configure

  ./configure --prefix=/usr \
    --disable-debug
  make
  make DESTDIR=$PKG install

  rm -r $PKG/usr/share/{doc,locale}
}
