diff --git a/packages/sysutils/fuse/config/fuse.conf b/packages/sysutils/fuse/config/fuse.conf deleted file mode 100644 index cd4c6bdaf3..0000000000 --- a/packages/sysutils/fuse/config/fuse.conf +++ /dev/null @@ -1,2 +0,0 @@ -# mount_max = 1000 -# user_allow_other diff --git a/packages/sysutils/fuse/install b/packages/sysutils/fuse/install deleted file mode 100755 index 6686442ffe..0000000000 --- a/packages/sysutils/fuse/install +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -mkdir -p $INSTALL/etc - cp $PKG_DIR/config/fuse.conf $INSTALL/etc - -mkdir -p $INSTALL/lib/udev/rules.d - cp $PKG_BUILD/util/udev.rules $INSTALL/lib/udev/rules.d/99-fuse.rules - -mkdir -p $INSTALL/sbin - cp $PKG_BUILD/util/mount.fuse $INSTALL/sbin - -mkdir -p $INSTALL/bin - cp $PKG_BUILD/util/fusermount $INSTALL/bin - cp $PKG_BUILD/util/ulockmgr_server $INSTALL/bin - -mkdir -p $INSTALL/lib - cp -P $PKG_BUILD/lib/.libs/*.so* $INSTALL/lib - diff --git a/packages/sysutils/fuse/build b/packages/sysutils/fuse/package.mk old mode 100755 new mode 100644 similarity index 50% rename from packages/sysutils/fuse/build rename to packages/sysutils/fuse/package.mk index fce5a85a99..c1640f5e89 --- a/packages/sysutils/fuse/build +++ b/packages/sysutils/fuse/package.mk @@ -1,5 +1,3 @@ -#!/bin/sh - ################################################################################ # This file is part of OpenELEC - http://www.openelec.tv # Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) @@ -20,21 +18,31 @@ # http://www.gnu.org/copyleft/gpl.html ################################################################################ -. config/options $1 +PKG_NAME="fuse" +PKG_VERSION="2.9.3" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://sourceforge.net/projects/fuse/" +PKG_URL="$SOURCEFORGE_SRC/fuse/fuse-2.X/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS_TARGET="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="system" +PKG_SHORTDESC="fuse: A simple user-space filesystem interface for Linux" +PKG_LONGDESC="FUSE provides a simple interface for userspace programs to export a virtual filesystem to the Linux kernel. FUSE also aims to provide a secure method for non privileged users to create and mount their own filesystem implementations." -cd $PKG_BUILD -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --enable-shared \ - --disable-static \ - --with-libiconv-prefix="$SYSROOT_PREFIX/usr" \ - --enable-lib \ - --enable-util \ - --disable-example \ - --enable-mtab \ - --disable-rpath \ - --with-gnu-ld \ +PKG_IS_ADDON="no" +PKG_AUTORECONF="yes" -make -$MAKEINSTALL +PKG_CONFIGURE_OPTS_TARGET="--enable-lib \ + --enable-util \ + --disable-example \ + --enable-mtab \ + --disable-rpath \ + --with-gnu-ld" + +post_makeinstall_target() { + rm -rf $INSTALL/etc/init.d + rm -rf $INSTALL/etc/udev +} diff --git a/packages/sysutils/fuse/rules.d/99-fuse.rules b/packages/sysutils/fuse/rules.d/99-fuse.rules new file mode 100644 index 0000000000..bb8033fee4 --- /dev/null +++ b/packages/sysutils/fuse/rules.d/99-fuse.rules @@ -0,0 +1 @@ +KERNEL=="fuse", MODE="0666",OWNER="root",GROUP="root"