SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sshfs-fuse"

# SliTaz package receipt.

PACKAGE="sshfs-fuse"
VERSION="3.7.3"
CATEGORY="system-tools"
TAGS="ssh"
SHORT_DESC="SSH Filesystem implemented with FUSE."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/libfuse/sshfs"
REPOLOGY="fusefs:sshfs"

SOURCE="sshfs"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/$TARBALL"

PROVIDE="rsshfs sshfs"
SUGGESTED="openssh"
DEPENDS="fuse glib openssh sftp-server"
BUILD_DEPENDS="coreutils-file-special fuse-dev gettext glib-dev pkg-config meson"
#        |
#        busybox ln does not understand ln --relative ...

HOST_ARCH="i486 arm"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/sshfs-\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    meson    _build        \
        --prefix=/usr &&
    ninja -C _build &&
    ninja -C _build install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr

    cp -a $install/usr/bin    $fs/usr
    cp -a $stuff/rsshfs    $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)