summaryrefslogtreecommitdiff
path: root/packages/fuse/fuse-module_2.5.3.bb
blob: 94cd87c603c5bebbce7481790a881e8d0e57efc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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@linuxtogo.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=""
install -d ${D}${sysconfdir}/udev/rules.d/
install -m 644 util/udev.rules ${D}${sysconfdir}/udev/rules.d/
cd ${S}/kernel
oe_runmake install DESTDIR=${D}
}

FILES_${PN} = "/dev ${base_libdir}/modules ${sysconfdir}"