Skip to content

Commit e6e0cb1

Browse files
committed
+macfuse
1 parent 2ce9c05 commit e6e0cb1

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
distributable:
2+
url: git+https://github.com/macfuse/macfuse.git
3+
ref: ${{version.tag}}
4+
5+
versions:
6+
github: macfuse/macfuse
7+
strip: /^macfuse-/
8+
9+
platforms:
10+
- darwin
11+
12+
build:
13+
dependencies:
14+
mesonbuild.com: '*'
15+
ninja-build.org: '*'
16+
git-scm.org: ^2
17+
script:
18+
- git submodule update --init --recursive
19+
20+
- run:
21+
- meson setup .. $ARGS
22+
- meson compile
23+
- meson install
24+
working-directory: Library-3/build
25+
env:
26+
ARGS:
27+
- -Dudevrulesdir={{prefix}}/etc/udev/rules.d
28+
- -Dinitscriptdir={{prefix}}/etc/init.d
29+
- -Dsysconfdir={{prefix}}/etc
30+
- -Duseroot=false
31+
- --prefix={{prefix}}
32+
33+
test:
34+
- run: cc $FIXTURE -lfuse3 -o test
35+
fixture:
36+
extname: c
37+
content: |
38+
#define FUSE_USE_VERSION 31
39+
#include <fuse3/fuse.h>
40+
#include <stdio.h>
41+
int main() {
42+
printf("%d%d\\n", FUSE_MAJOR_VERSION, FUSE_MINOR_VERSION);
43+
printf("%d\\n", fuse_version());
44+
return 0;
45+
}
46+
- ./test

0 commit comments

Comments
 (0)