wok view sshfs-fuse/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (15 months ago)
parents 0e34a8ff8bcd
children
line source
1 # SliTaz package receipt.
3 PACKAGE="sshfs-fuse"
4 VERSION="3.7.3"
5 CATEGORY="system-tools"
6 TAGS="ssh"
7 SHORT_DESC="SSH Filesystem implemented with FUSE."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/libfuse/sshfs"
11 REPOLOGY="fusefs:sshfs"
13 SOURCE="sshfs"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WGET_URL="$WEB_SITE/archive/$TARBALL"
17 PROVIDE="rsshfs sshfs"
18 SUGGESTED="openssh"
19 DEPENDS="fuse glib openssh sftp-server"
20 BUILD_DEPENDS="coreutils-file-special fuse-dev gettext glib-dev pkg-config meson"
21 # |
22 # busybox ln does not understand ln --relative ...
24 HOST_ARCH="i486 arm"
26 # What is the latest version available today?
27 current_version()
28 {
29 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
30 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
31 }
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 meson _build \
37 --prefix=/usr &&
38 ninja -C _build &&
39 ninja -C _build install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
47 cp -a $install/usr/bin $fs/usr
48 cp -a $stuff/rsshfs $fs/usr/bin
49 }