wok rev 20575

Update xsshfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 16:38:05 2018 +0100 (2018-12-13)
parents 24777abfc406
children 4cd6aef57b3a
files xsshfs/receipt zfs-fuse/receipt
line diff
     1.1 --- a/xsshfs/receipt	Thu Dec 13 15:52:42 2018 +0100
     1.2 +++ b/xsshfs/receipt	Thu Dec 13 16:38:05 2018 +0100
     1.3 @@ -17,8 +17,31 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	cp -a $src/usr $fs/
     1.8 -	sed -i 's|/bin/bash|/bin/sh|' $fs/usr/bin/xsshfs
     1.9 +	mkdir -p $fs/usr/share/icons/hicolor/scalable/apps $fs/usr/share/xsshfs
    1.10 +	mkdir -p $fs/usr/share/applications $fs/usr/bin $fs/usr/share/pixmaps
    1.11 +	cat > $fs/usr/bin/xsshfs <<EOT
    1.12 +#!/bin/sh
    1.13 +
    1.14 +cd /usr/share/xsshfs
    1.15 +exec ./xsshfs.pl $@
    1.16 +EOT
    1.17 +	cat > $fs/usr/share/applications/xsshfs.desktop <<EOT
    1.18 +[Desktop Entry]
    1.19 +Type=Application
    1.20 +Encoding=UTF-8
    1.21 +Name=Xsshfs
    1.22 +GenericName=xsshfs
    1.23 +Icon=/usr/share/pixmaps/xsshfs.svg
    1.24 +Exec=xsshfs
    1.25 +Terminal=false
    1.26 +StartupNotify=false
    1.27 +Categories=Network;
    1.28 +EOT
    1.29 +	chmod +x $fs/usr/bin/xsshfs
    1.30 +	cp $src/xsshfs* $fs/usr/share/xsshfs
    1.31 +	cp -a $src/locale $fs/usr/share
    1.32 +	ln -s ../xsshfs/xsshfs.svg $fs/usr/share/pixmaps
    1.33 +	ln -s ../../../../xsshfs/xsshfs.svg $fs/usr/share/icons/hicolor/scalable/apps
    1.34  	sed -i 's|"/bin/fusermount|"/usr/bin/fusermount|' $fs/usr/share/xsshfs/xsshfs.pm
    1.35  	sed -i 's|xdg-open|pcmanfm|' $fs/usr/share/xsshfs/xsshfs.pm
    1.36  }
     2.1 --- a/zfs-fuse/receipt	Thu Dec 13 15:52:42 2018 +0100
     2.2 +++ b/zfs-fuse/receipt	Thu Dec 13 16:38:05 2018 +0100
     2.3 @@ -12,7 +12,8 @@
     2.4  WGET_URL="$ARCHIVE$WEB_SITE/releases/$VERSION/$TARBALL"
     2.5  
     2.6  DEPENDS="fuse libaio libcrypto perl"
     2.7 -BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev"
     2.8 +BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev \
     2.9 +file"
    2.10  
    2.11  # Rules to configure and make the package.
    2.12  compile_rules()