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