wok-current annotate sshfs-fuse/receipt @ rev 25653
lzo needed from fsarchiver
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 13 07:22:29 2024 +0100 (6 months ago) |
parents | 72f2704d3ae0 |
children |
rev | line source |
---|---|
pascal@914 | 1 # SliTaz package receipt. |
pascal@914 | 2 |
pascal@914 | 3 PACKAGE="sshfs-fuse" |
Hans-G?nter@25330 | 4 VERSION="3.7.3" |
pascal@914 | 5 CATEGORY="system-tools" |
Hans-G?nter@25330 | 6 TAGS="ssh" |
pascal@914 | 7 SHORT_DESC="SSH Filesystem implemented with FUSE." |
pascal@914 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
pascal@19626 | 10 WEB_SITE="https://github.com/libfuse/sshfs" |
Hans-G?nter@25330 | 11 REPOLOGY="fusefs:sshfs" |
Hans-G?nter@25330 | 12 |
Hans-G?nter@25330 | 13 SOURCE="sshfs" |
Hans-G?nter@25330 | 14 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25330 | 15 WGET_URL="$WEB_SITE/archive/$TARBALL" |
Hans-G?nter@25330 | 16 |
Hans-G?nter@25330 | 17 PROVIDE="rsshfs sshfs" |
Hans-G?nter@25330 | 18 SUGGESTED="openssh" |
Hans-G?nter@25330 | 19 DEPENDS="fuse glib openssh sftp-server" |
Hans-G?nter@25330 | 20 BUILD_DEPENDS="coreutils-file-special fuse-dev gettext glib-dev pkg-config meson" |
Hans-G?nter@25330 | 21 # | |
Hans-G?nter@25330 | 22 # busybox ln does not understand ln --relative ... |
Hans-G?nter@25330 | 23 |
pankso@16381 | 24 HOST_ARCH="i486 arm" |
pascal@15000 | 25 |
pascal@24055 | 26 current_version() |
pascal@24055 | 27 { |
pascal@24060 | 28 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 29 sed '/archive.*tar/!d;s|.*/sshfs-\(.*\).tar.*|\1|;q' |
pascal@24055 | 30 } |
pascal@24055 | 31 |
pascal@914 | 32 # Rules to configure and make the package. |
pascal@914 | 33 compile_rules() |
pascal@914 | 34 { |
Hans-G?nter@25330 | 35 meson _build \ |
Hans-G?nter@25330 | 36 --prefix=/usr && |
Hans-G?nter@25330 | 37 ninja -C _build && |
Hans-G?nter@25330 | 38 ninja -C _build install |
pascal@914 | 39 } |
pascal@914 | 40 |
pascal@914 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@914 | 42 genpkg_rules() |
pascal@914 | 43 { |
pascal@19977 | 44 mkdir -p $fs/usr |
Hans-G?nter@25330 | 45 |
Hans-G?nter@25330 | 46 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@25330 | 47 cp -a $stuff/rsshfs $fs/usr/bin |
pascal@914 | 48 } |