--- /dev/null
+HOMEPAGE = "http://fuse.sf.net"
+DESCRIPTION = "With FUSE it is possible to implement a fully functional filesystem in a userspace program"
+MAINTAINER = "Koen Kooi <koen@handhelds.org>"
+
+LICENSE = "GPL
+
+
+DEPENDS = "fakeroot-native"
+RRECOMMEND = "fuse"
+
+SRC_URI="${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz"
+S = "${WORKDIR}/fuse-${PV}"
+
+inherit autotools pkgconfig module
+EXTRA_OECONF = " --with-kernel=${STAGING_KERNEL_DIR}"
+
+do_configure() {
+cd ${S} ; oe_runconf
+}
+
+do_compile(){
+LDFLAGS=""
+cd ${S}/kernel
+oe_runmake
+}
+
+fakeroot do_install() {
+LDFLAGS=""
+cd ${S}/kernel
+oe_runmake install DESTDIR=${D}
+}
+
+FILES_${PN} = "/dev /lib/modules"
LICENSE_${PN} = "LGPL
DEPENDS = "fakeroot-native"
-RRECOMMEND_${PN} = "fuse-module"
+RRECOMMENDS_${PN} = "fuse-module"
SRC_URI="${SOURCEFORGE_MIRROR}/fuse/${P}.tar.gz"