wok view avfs/receipt @ rev 24586

updated gawk (5.0.1 -> 5.1.1)
author Hans-G?nter Theisgen
date Mon Feb 28 09:01:30 2022 +0100 (2022-02-28)
parents 5f6c5106b1f5
children 968c74228a7b
line source
1 # SliTaz package receipt.
3 PACKAGE="avfs"
4 VERSION="1.1.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="A virtual Filesystem implemented with FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/avf/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/avf/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="fuse liblzma"
15 BUILD_DEPENDS="fuse-dev liblzma-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/avf/files/avfs/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/avfs/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --enable-fuse \
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 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 # cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib/avfs $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 # bash not really needed
47 sed -i '1s|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/mountavfs
48 sed -i '1s|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/umountavfs
50 # 1.1.4 against: can't create $HOME/.avfs/#dav_ctl:*
51 patch --strip=0 --directory=$fs --input=$stuff/patches/davpass-1.1.4
52 patch --strip=0 --directory=$fs --input=$stuff/patches/ftppass-1.1.4
53 }