# SliTaz package receipt.

PACKAGE="fusedav"
VERSION="0.2"
CATEGORY="system-tools"
SHORT_DESC="Linux userspace file system driver for mounting WebDAV shares."
MAINTAINER="pascal.bellard@slitaz.org"
DEPENDS="fuse openssl libkrb5 krb5 expat neon zlib libcomerr3"
BUILD_DEPENDS="fuse-dev attr-dev openssl-dev krb5-dev krb5 expat-dev neon-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://0pointer.de/lennart/projects/fusedav"
WGET_URL="$WEB_SITE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	sed -i 's/range64/range/' src/filecache.c
	./configure --prefix=/usr --bindir=/bin \
	--disable-lynx \
	--libexecdir=/usr/bin --mandir=/usr/share/man \
	$CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $_pkg/bin $fs
}