blob: e65eb08e272c5bf3efa3bea28482ae38121ad1cc [file] [log] [blame]
Brad Bishopa891d152019-09-13 06:17:45 -04001SUMMARY = "Implementation of a fully functional filesystem in a userspace program"
2DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspace \
3 programs to export a virtual filesystem to the Linux kernel. FUSE \
4 also aims to provide a secure method for non privileged users to \
5 create and mount their own filesystem implementations. \
6 "
7HOMEPAGE = "https://github.com/libfuse/libfuse"
8SECTION = "libs"
9LICENSE = "GPLv2 & LGPLv2"
10LIC_FILES_CHKSUM = "file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
11 file://LGPL2.txt;md5=4fbd65380cdd255951079008b364516c \
12 file://LICENSE;md5=a55c12a2d7d742ecb41ca9ae0a6ddc66"
13
14SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.xz \
15"
16SRC_URI[md5sum] = "1798945aa69434286723b9999a141c7a"
17SRC_URI[sha256sum] = "f45869427575e1e59ab743a67deb57addbf2cb8f9ce431199dbd40ddab71f281"
18
19S = "${WORKDIR}/fuse-${PV}"
20
21UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases"
22UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>3(\.\d+)+).tar.xz"
23
24inherit meson pkgconfig
25
26DEPENDS = "udev"
27
28PACKAGES =+ "fuse3-utils"
29
30RPROVIDES_${PN}-dbg += "fuse3-utils-dbg"
31
32RRECOMMENDS_${PN}_class-target = "kernel-module-fuse fuse3-utils"
33
34FILES_${PN} += "${libdir}/libfuse3.so.*"
35FILES_${PN}-dev += "${libdir}/libfuse3*.la"
36
37EXTRA_OEMESON += " \
38 -Dexamples=false \
39"
40
41# Forbid auto-renaming to libfuse3-utils
42FILES_fuse3-utils = "${bindir} ${base_sbindir}"
43DEBIAN_NOAUTONAME_fuse3-utils = "1"
44DEBIAN_NOAUTONAME_${PN}-dbg = "1"
45
46do_install_append() {
47 rm -rf ${D}${base_prefix}/dev
48}