wok-6.x view sshfs-fuse/receipt @ rev 25493
Add libgnt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 19 17:37:48 2022 +0000 (21 months ago) |
parents | 72f2704d3ae0 |
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 current_version()
27 {
28 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
29 sed '/archive.*tar/!d;s|.*/sshfs-\(.*\).tar.*|\1|;q'
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 meson _build \
36 --prefix=/usr &&
37 ninja -C _build &&
38 ninja -C _build install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
46 cp -a $install/usr/bin $fs/usr
47 cp -a $stuff/rsshfs $fs/usr/bin
48 }