wok-6.x annotate lftpfs/receipt @ rev 25324
updated squid, squid-auth-helpers and squid-langpack (3.4.2 -> 5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 17:10:45 2022 +0100 (2022-07-22) |
parents | 2a5cc8208d36 |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@14284 | 1 # SliTaz package receipt. |
pascal@14284 | 2 |
pascal@14284 | 3 PACKAGE="lftpfs" |
pascal@14284 | 4 VERSION="0.4.3" |
pascal@14284 | 5 CATEGORY="system-tools" |
pascal@14284 | 6 SHORT_DESC="filesystem with caching for smart mirror of sites based on FUSE and LFTP." |
pascal@14284 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL2" |
pascal@14284 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14284 | 10 WEB_SITE="http://lftpfs.sourceforge.net/" |
pascal@14284 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@14284 | 12 |
pascal@14284 | 13 DEPENDS="perl-fuse perl-ipc-run" |
pascal@14284 | 14 BUILD_DEPENDS="perl-fuse perl-ipc-run" |
pascal@14284 | 15 |
pascal@24411 | 16 # What is the latest version available today? |
pascal@24411 | 17 current_version() |
pascal@24411 | 18 { |
pascal@24411 | 19 wget -O - https://sourceforge.net/projects/lftpfs/files/lftpfs/ 2>/dev/null | \ |
pascal@24411 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 21 sed '/scope="row/!d;s|.*/lftpfs-||;s|.tar.*||;q' |
pascal@24411 | 22 } |
pascal@24411 | 23 |
pascal@14284 | 24 # Rules to configure and make the package. |
pascal@14284 | 25 compile_rules() |
pascal@14284 | 26 { |
pascal@14284 | 27 cd $src |
pascal@14284 | 28 perl Makefile.PL && |
pascal@14284 | 29 make && make DESTDIR=$DESTDIR install |
pascal@14284 | 30 } |
pascal@14284 | 31 |
pascal@14284 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14284 | 33 genpkg_rules() |
pascal@14284 | 34 { |
pascal@14284 | 35 cp -a $install/usr $fs |
pascal@14284 | 36 } |