# Template file for 'fuse' pkgname=fuse version=2.9.2 revision=2 build_style=gnu-configure configure_args="--disable-static --enable-lib --enable-util" short_desc="Filesystem in Userspace" maintainer="Juan RP " license="GPL-2" homepage="http://fuse.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=81a728fb3f87da33063068735e2fb7e2cd89df207d32687d3d3278385279cefc 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" post_install() { # remove obsolete rules file provided by udev. rm -rf ${DESTDIR}/{dev,etc} # Switch to /usr. vmkdir usr/sbin vmove "sbin/*" usr/sbin } fuse-devel_package() { depends="fuse-${version}_${revision}" short_desc+=" -- development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig } } fuse_package() { pkg_install() { vmove usr } }