# SliTaz package receipt. PACKAGE="lftpfs" VERSION="0.4.3" CATEGORY="system-tools" SHORT_DESC="filesystem with caching for smart mirror of sites based on FUSE and LFTP." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://lftpfs.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="perl-fuse perl-ipc-run" BUILD_DEPENDS="perl-fuse perl-ipc-run" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/lftpfs/files/lftpfs/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/lftpfs-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src perl Makefile.PL && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs }