SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "curlftpfs"

# SliTaz package receipt.

PACKAGE="curlftpfs"
VERSION="0.9.2"
CATEGORY="system-tools"
SHORT_DESC="Using FUSE to access FTP servers."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://curlftpfs.sourceforge.net/"
WGET_URL="$SF_MIRROR/curlftpfs/$TARBALL"

DEPENDS="fuse2 curl glib zlib"
BUILD_DEPENDS="fuse2 fuse2-dev curl curl-dev glib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/curlftpfs/files/curlftpfs/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/curlftpfs/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)