# 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" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://0pointer.de/lennart/projects/fusedav" WGET_URL="$WEB_SITE/$TARBALL" DEPENDS="fuse2 openssl libkrb5 krb5 expat neon zlib libcomerr3" BUILD_DEPENDS="fuse2-dev attr-dev openssl-dev krb5-dev krb5 expat-dev neon-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { sed -i 's|attr/xattr.h|sys/xattr.h|;s|ENOATTR|ENODATA|' src/fusedav.c 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=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/bin $fs }