wok annotate avfs/receipt @ rev 25559
updated xfce4-ristretto 0.6.3 -> 0.8.5
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 25 15:16:20 2023 +0100 (18 months ago) |
parents | ad0bc3efbf37 |
children | 6b33f9da53d4 |
rev | line source |
---|---|
pascal@14529 | 1 # SliTaz package receipt. |
pascal@14529 | 2 |
pascal@14529 | 3 PACKAGE="avfs" |
Hans-G?nter@24338 | 4 VERSION="1.1.4" |
pascal@14529 | 5 CATEGORY="system-tools" |
pascal@14529 | 6 SHORT_DESC="A virtual Filesystem implemented with FUSE." |
pascal@14529 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@25509 | 9 WEB_SITE="https://sourceforge.net/projects/avf/" |
Hans-G?nter@20729 | 10 |
pascal@14529 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14529 | 12 WGET_URL="$SF_MIRROR/avf/$PACKAGE/$VERSION/$TARBALL" |
pascal@14529 | 13 |
pascal@24766 | 14 DEPENDS="fuse2 liblzma" |
pascal@24766 | 15 BUILD_DEPENDS="fuse2-dev liblzma-dev" |
pascal@14529 | 16 |
pascal@24340 | 17 # What is the latest version available today? |
pascal@24340 | 18 current_version() |
pascal@24340 | 19 { |
pascal@24340 | 20 wget -O - https://sourceforge.net/projects/avf/files/avfs/ 2>/dev/null | \ |
pascal@24340 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24340 | 22 sed '/scope="row/!d;s|.*/avfs/||;s|/.*||;q' |
pascal@24340 | 23 } |
pascal@24340 | 24 |
pascal@14529 | 25 # Rules to configure and make the package. |
pascal@14529 | 26 compile_rules() |
pascal@14529 | 27 { |
Hans-G?nter@22522 | 28 ./configure \ |
Hans-G?nter@22522 | 29 --prefix=/usr \ |
Hans-G?nter@22522 | 30 --enable-fuse \ |
pascal@14529 | 31 $CONFIGURE_ARGS && |
pascal@14529 | 32 make && |
pascal@14529 | 33 make DESTDIR=$DESTDIR install |
pascal@14529 | 34 } |
pascal@14529 | 35 |
pascal@14529 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14529 | 37 genpkg_rules() |
pascal@14529 | 38 { |
pascal@14529 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22522 | 40 |
Hans-G?nter@22522 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22522 | 42 # cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22522 | 43 cp -a $install/usr/lib/avfs $fs/usr/lib |
Hans-G?nter@22522 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@24341 | 45 |
Hans-G?nter@24761 | 46 # Up to 2022-01-31, mountavfs and umountavfs have been copied while |
Hans-G?nter@24761 | 47 # Making install in scripts |
Hans-G?nter@24761 | 48 # Why no more? |
Hans-G?nter@24762 | 49 install -o root -m 0755 $src/scripts/mountavfs $fs/usr/bin/mountavfs |
Hans-G?nter@24762 | 50 install -o root -m 0755 $src/scripts/umountavfs $fs/usr/bin/umountavfs |
Hans-G?nter@24761 | 51 |
Hans-G?nter@24341 | 52 # bash not really needed |
Hans-G?nter@24341 | 53 sed -i '1s|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/mountavfs |
Hans-G?nter@24341 | 54 sed -i '1s|#!/bin/bash|#!/bin/sh|' $fs/usr/bin/umountavfs |
Hans-G?nter@24341 | 55 |
Hans-G?nter@24341 | 56 # 1.1.4 against: can't create $HOME/.avfs/#dav_ctl:* |
Hans-G?nter@24341 | 57 patch --strip=0 --directory=$fs --input=$stuff/patches/davpass-1.1.4 |
Hans-G?nter@24341 | 58 patch --strip=0 --directory=$fs --input=$stuff/patches/ftppass-1.1.4 |
pascal@14529 | 59 } |