wok view fusedav/receipt @ rev 24560
updated fossil (2.12.1 -> 2.18)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 16:12:40 2022 +0100 (2022-02-25) |
parents | 95dd63067f99 |
children | b1356f30c0b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fusedav"
4 VERSION="0.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux userspace file system driver for mounting WebDAV shares."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://0pointer.de/lennart/projects/fusedav"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="fuse openssl libkrb5 krb5 expat neon zlib libcomerr3"
14 BUILD_DEPENDS="fuse-dev attr-dev openssl-dev krb5-dev krb5 expat-dev neon-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|attr/xattr.h|sys/xattr.h|;s|ENOATTR|ENODATA|' src/fusedav.c
27 sed -i 's/range64/range/' src/filecache.c
28 ./configure --prefix=/usr --bindir=/bin \
29 --disable-lynx \
30 --libexecdir=/usr/bin --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/bin $fs
40 }