wok-6.x view avfs/receipt @ rev 25457
Normazile https://sourceforge.net/projects web_sites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 23 08:28:09 2022 +0000 (2022-09-23) |
parents | 72f2704d3ae0 |
children | 2d4208bebf51 |
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="fuse2 liblzma"
15 BUILD_DEPENDS="fuse2-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 # Up to 2022-01-31, mountavfs and umountavfs have been copied while
47 # Making install in scripts
48 # Why no more?
49 install -o root -m 0755 $src/scripts/mountavfs $fs/usr/bin/mountavfs
50 install -o root -m 0755 $src/scripts/umountavfs $fs/usr/bin/umountavfs
52 # bash not really needed
53 sed -i '1s|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/mountavfs
54 sed -i '1s|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/umountavfs
56 # 1.1.4 against: can't create $HOME/.avfs/#dav_ctl:*
57 patch --strip=0 --directory=$fs --input=$stuff/patches/davpass-1.1.4
58 patch --strip=0 --directory=$fs --input=$stuff/patches/ftppass-1.1.4
59 }