Added fuse-2.8.1 build template.
--HG-- extra : convert_revision : 40572a03b6891841f12b408c746ef00df86ce370
This commit is contained in:
parent
53a8e6d10d
commit
05d506a28b
|
@ -0,0 +1 @@
|
|||
fuse
|
|
@ -0,0 +1,30 @@
|
|||
#!/sbin/runscript
|
||||
|
||||
FUSECTL_SYSFS=/sys/fs/fuse/connections
|
||||
|
||||
depend()
|
||||
{
|
||||
need localmount
|
||||
}
|
||||
|
||||
start()
|
||||
{
|
||||
ebegin "Starting fuse"
|
||||
if ! grep -qw fuse /proc/filesystems; then
|
||||
modprobe fuse >/dev/null 2>&1 || eend $?
|
||||
fi
|
||||
if grep -qw fusectl /proc/filesystems && \
|
||||
! grep -qw $FUSECTL_SYSFS /proc/mounts; then
|
||||
mount -t fusectl none $FUSECTL_SYSFS >/dev/null 2>&1 || eend $?
|
||||
fi
|
||||
eend
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
ebegin "Stopping fuse"
|
||||
if grep -qw $FUSECTL_SYSFS /proc/mounts; then
|
||||
umount $FUSECTL_SYSFS >/dev/null 2>&1 || eend $?
|
||||
fi
|
||||
eend
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'fuse-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run fuse
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'fuse'
|
||||
pkgname=fuse
|
||||
version=2.8.1
|
||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-lib --enable-util --bindir=/bin"
|
||||
short_desc="Filesystem in Userspace"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=007f1056ce329a7c9976ab7b68d3361991261e188f36364d0406f8ee457d2eaf
|
||||
long_desc="
|
||||
With FUSE it is possible to implement a fully functional filesystem in
|
||||
a userspace program. Features include:
|
||||
|
||||
* Simple library API
|
||||
* Simple installation (no need to patch or recompile the kernel)
|
||||
* Secure implementation
|
||||
* Userspace - kernel interface is very efficient
|
||||
* Usable by non privileged users
|
||||
* Runs on Linux kernels 2.4.X and 2.6.X
|
||||
* Has proven very stable over time"
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
openrc_services="fuse default"
|
||||
Add_dependency full glibc
|
||||
|
||||
post_install()
|
||||
{
|
||||
# Remove provided init script, we use our own.
|
||||
rm -f ${DESTDIR}/etc/init.d/fuse
|
||||
install -m755 ${FILESDIR}/fuse.rc ${DESTDIR}/etc/init.d/fuse
|
||||
}
|
Loading…
Reference in New Issue