SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "httpfs2-fuse"

# SliTaz package receipt.

PACKAGE="httpfs2-fuse"
VERSION="0.1.5"
SOURCE="httpfs2"
CATEGORY="system-tools"
SHORT_DESC="HTTP/HTTPS Filesystem implemented with FUSE."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="https://httpfs.sourceforge.net/"
WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
PROVIDE="httpfs-fuse"
TAGS="filesystem"

DEPENDS="gcc-lib-base fuse2 libgnutls"
BUILD_DEPENDS="fuse2-dev gnutls-dev libgnutls pkg-config asciidoc docbook-xml docbook-xsl"

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

# Rules to configure and make the package.
compile_rules()
{
    sed -i "s/^package = .*/package = $SOURCE/" Makefile
    sed -i "s/^version = .*/version = $VERSION/" Makefile
    sed -i "s/^revision = .*/revision = 1/" Makefile
    sed -i "s/MAIN_LDFLAGS := /&-ldl -lpthread -lrt /" Makefile
    make -j 1
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $install/usr/share/doc $install/usr/share/man
    cp -a $src/httpfs2*mt $src/httpfs*[2l] $fs/usr/bin/
    cp $src/*.1 $install/usr/share/man
    cp $src/*.txt $install/usr/share/doc
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)