wok view fusedav/receipt @ rev 25500

new default version for java8-jre
author Hans-G?nter Theisgen
date Fri Dec 30 10:14:12 2022 +0100 (22 months ago)
parents 453c249b6219
children
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="fuse2 openssl libkrb5 krb5 expat neon zlib libcomerr3"
14 BUILD_DEPENDS="fuse2-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 }