wok view avfs/receipt @ rev 24340

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 31 11:41:46 2022 +0000 (2022-01-31)
parents f1922233bc3a
children 59da344262a2
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
45 }