mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
fuse: convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8ab9cf5330
commit
8220ce99bd
@ -1,2 +0,0 @@
|
||||
# mount_max = 1000
|
||||
# user_allow_other
|
@ -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
|
||||
|
44
packages/sysutils/fuse/build → packages/sysutils/fuse/package.mk
Executable file → Normal file
44
packages/sysutils/fuse/build → packages/sysutils/fuse/package.mk
Executable file → Normal file
@ -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
|
||||
}
|
1
packages/sysutils/fuse/rules.d/99-fuse.rules
Normal file
1
packages/sysutils/fuse/rules.d/99-fuse.rules
Normal file
@ -0,0 +1 @@
|
||||
KERNEL=="fuse", MODE="0666",OWNER="root",GROUP="root"
|
Loading…
x
Reference in New Issue
Block a user