diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2008-11-06 19:13:01 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2008-11-06 19:13:01 +0100 |
commit | 186d324db168eedd284732cf767d9355f89185df (patch) | |
tree | 00671c99cafadf2a10af5657b48fb1ed2f84c8fa /meta/packages/fuse | |
parent | c79b332505906aace2a5033bbeeb2b9b20f8a372 (diff) | |
download | poky-186d324db168eedd284732cf767d9355f89185df.tar.gz |
fuse: Initial commit, version 2.7.2
Diffstat (limited to 'meta/packages/fuse')
-rw-r--r-- | meta/packages/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch | 15 | ||||
-rw-r--r-- | meta/packages/fuse/fuse.inc | 13 | ||||
-rw-r--r-- | meta/packages/fuse/fuse_2.7.2.bb | 27 |
3 files changed, 55 insertions, 0 deletions
diff --git a/meta/packages/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch b/meta/packages/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch new file mode 100644 index 0000000000..903a8baa9e --- /dev/null +++ b/meta/packages/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Index: fuse-2.7.2/util/Makefile.am | ||
2 | =================================================================== | ||
3 | --- fuse-2.7.2.orig/util/Makefile.am 2007-04-26 01:36:47.000000000 +0930 | ||
4 | +++ fuse-2.7.2/util/Makefile.am 2008-02-10 16:43:19.000000000 +1030 | ||
5 | @@ -33,10 +33,6 @@ | ||
6 | $(INSTALL_PROGRAM) $(srcdir)/mount.fuse $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse | ||
7 | $(mkdir_p) $(DESTDIR)$(INIT_D_PATH) | ||
8 | $(INSTALL_PROGRAM) $(srcdir)/init_script $(DESTDIR)$(INIT_D_PATH)/fuse | ||
9 | - @if test -x /usr/sbin/update-rc.d; then \ | ||
10 | - echo "/usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true"; \ | ||
11 | - /usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true; \ | ||
12 | - fi | ||
13 | |||
14 | install-data-local: | ||
15 | $(mkdir_p) $(DESTDIR)$(UDEV_RULES_PATH) | ||
diff --git a/meta/packages/fuse/fuse.inc b/meta/packages/fuse/fuse.inc new file mode 100644 index 0000000000..d9e7dd72cb --- /dev/null +++ b/meta/packages/fuse/fuse.inc | |||
@@ -0,0 +1,13 @@ | |||
1 | DESCRIPTION = "With FUSE it is possible to implement a fully functional filesystem in a userspace program" | ||
2 | HOMEPAGE = "http://fuse.sf.net" | ||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "fakeroot-native" | ||
5 | RRECOMMENDS_fuse = "${@base_contains("MACHINE_FEATURES","kernel26","kernel-module-fuse","fuse-module",d)}" | ||
6 | |||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz" | ||
8 | |||
9 | inherit autotools pkgconfig | ||
10 | |||
11 | fakeroot do_install() { | ||
12 | oe_runmake install DESTDIR=${D} | ||
13 | } | ||
diff --git a/meta/packages/fuse/fuse_2.7.2.bb b/meta/packages/fuse/fuse_2.7.2.bb new file mode 100644 index 0000000000..a1795e7f0c --- /dev/null +++ b/meta/packages/fuse/fuse_2.7.2.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | require fuse.inc | ||
2 | |||
3 | PR = "r0" | ||
4 | |||
5 | SRC_URI += "file://not-run-updaterc.d-on-host.patch;patch=1" | ||
6 | |||
7 | EXTRA_OECONF = " --disable-kernel-module" | ||
8 | |||
9 | #package utils in a sperate package and stop debian.bbclass renaming it to libfuse-utils, we want it to be fuse-utils | ||
10 | PACKAGES =+ "fuse-utils-dbg fuse-utils libulockmgr libulockmgr-dev libulockmgr-dbg" | ||
11 | FILES_${PN} += "${libdir}/libfuse.so.*" | ||
12 | FILES_${PN}-dev += "${libdir}/libfuse*.la" | ||
13 | |||
14 | FILES_libulockmgr = "${libdir}/libulockmgr.so.*" | ||
15 | FILES_libulockmgr-dev += "${libdir}/libulock*.la" | ||
16 | FILES_libulockmgr-dbg += "${libdir}/.debug/libulock*" | ||
17 | |||
18 | FILES_fuse-utils = "${bindir} ${base_sbindir}" | ||
19 | FILES_fuse-utils-dbg = "${bindir}/.debug ${base_sbindir}/.debug" | ||
20 | DEBIAN_NOAUTONAME_fuse-utils = "1" | ||
21 | DEBIAN_NOAUTONAME_fuse-utils-dbg = "1" | ||
22 | |||
23 | fakeroot do_stage() { | ||
24 | autotools_stage_all | ||
25 | } | ||
26 | |||
27 | |||