wok annotate sshfs-fuse/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents f08fe4855be4
children 0e34a8ff8bcd
rev   line source
pascal@914 1 # SliTaz package receipt.
pascal@914 2
pascal@914 3 PACKAGE="sshfs-fuse"
pascal@20421 4 VERSION="2.10"
pascal@914 5 CATEGORY="system-tools"
pascal@914 6 SHORT_DESC="SSH Filesystem implemented with FUSE."
pascal@914 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@19976 9 TARBALL="sshfs-$VERSION.tar.gz"
pascal@19626 10 WEB_SITE="https://github.com/libfuse/sshfs"
pascal@24060 11 WGET_URL="$WEB_SITE/archive/refs/tags/$TARBALL"
pankso@16381 12 HOST_ARCH="i486 arm"
pascal@17131 13 PROVIDE="rsshfs sshfs"
pascal@17141 14 TAGS="ssh"
pascal@914 15
pascal@24766 16 DEPENDS="fuse2 ssh sftp-server glib"
pascal@21097 17 SUGGESTED="afuse"
pascal@24766 18 BUILD_DEPENDS="fuse2-dev gettext glib-dev pkg-config autoconf automake libtool"
pascal@15000 19
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@24060 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 23 sed '/archive.*tar/!d;s|.*/sshfs-\(.*\).tar.*|\1|;q'
pascal@24055 24 }
pascal@24055 25
pascal@914 26 # Rules to configure and make the package.
pascal@914 27 compile_rules()
pascal@914 28 {
pascal@19627 29 libtoolize --force
pascal@19627 30 aclocal
pascal@19627 31 autoheader
pascal@19627 32 automake --force-missing --add-missing
pascal@19627 33 autoconf
pascal@914 34 ./configure --prefix=/usr \
pascal@1514 35 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1514 36 make &&
pascal@15000 37 make DESTDIR=$DESTDIR install
pascal@914 38 }
pascal@914 39
pascal@914 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@914 41 genpkg_rules()
pascal@914 42 {
pascal@19977 43 mkdir -p $fs/usr
pascal@15000 44 cp -a $install/usr/bin $fs/usr
pascal@16756 45 cp -a $stuff/rsshfs $fs/usr/bin
pascal@914 46 }