From c3ce683f27dcf71e5d951a16e32c08576e63f53c Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 13 Dec 2010 12:34:40 +0100 Subject: [PATCH] new package: add package 'sshfs-fuse' Signed-off-by: Stephan Raue --- packages/network/netmount/meta | 2 +- packages/sysutils/sshfs-fuse/build | 11 +++++++++++ packages/sysutils/sshfs-fuse/install | 6 ++++++ packages/sysutils/sshfs-fuse/meta | 16 ++++++++++++++++ 4 files changed, 34 insertions(+), 1 deletion(-) create mode 100755 packages/sysutils/sshfs-fuse/build create mode 100755 packages/sysutils/sshfs-fuse/install create mode 100644 packages/sysutils/sshfs-fuse/meta diff --git a/packages/network/netmount/meta b/packages/network/netmount/meta index 449ae1b439..26134a19e6 100644 --- a/packages/network/netmount/meta +++ b/packages/network/netmount/meta @@ -5,7 +5,7 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://www.openelec.tv" PKG_URL="" -PKG_DEPENDS="samba nfs-utils connman" +PKG_DEPENDS="samba nfs-utils sshfs-fuse connman" PKG_BUILD_DEPENDS="toolchain" PKG_PRIORITY="optional" PKG_SECTION="tools" diff --git a/packages/sysutils/sshfs-fuse/build b/packages/sysutils/sshfs-fuse/build new file mode 100755 index 0000000000..fed094f0e7 --- /dev/null +++ b/packages/sysutils/sshfs-fuse/build @@ -0,0 +1,11 @@ +#!/bin/sh + +. config/options $1 + +cd $PKG_BUILD +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --enable-shared \ + +make diff --git a/packages/sysutils/sshfs-fuse/install b/packages/sysutils/sshfs-fuse/install new file mode 100755 index 0000000000..39827c16fc --- /dev/null +++ b/packages/sysutils/sshfs-fuse/install @@ -0,0 +1,6 @@ +#!/bin/sh + +. config/options $1 + +mkdir -p $INSTALL/usr/bin + cp $PKG_BUILD/sshfs $INSTALL/usr/bin diff --git a/packages/sysutils/sshfs-fuse/meta b/packages/sysutils/sshfs-fuse/meta new file mode 100644 index 0000000000..ce91d84885 --- /dev/null +++ b/packages/sysutils/sshfs-fuse/meta @@ -0,0 +1,16 @@ +PKG_NAME="sshfs-fuse" +PKG_VERSION="2.2" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://fuse.sourceforge.net/sshfs.html" +PKG_URL="http://sourceforge.net/projects/fuse/files/$PKG_NAME-$PKG_VERSION.tar.gz" +PKG_DEPENDS="glib fuse" +PKG_BUILD_DEPENDS="toolchain glib fuse" +PKG_PRIORITY="optional" +PKG_SECTION="system" +PKG_SHORTDESC="sshfs-fuse: A filesystem client based on the SSH File Transfer Protocol" +PKG_LONGDESC="This is a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this protocol it is very easy to set up: i.e. on the server side there's nothing to do. On the client side mounting the filesystem is as easy as logging into the server with ssh." +PKG_IS_ADDON="no" + +PKG_AUTORECONF="yes"