mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
d2e0aa4e73
* fix(mergefs) closes #5047 * wip
39 lines
1,008 B
YAML
39 lines
1,008 B
YAML
distributable:
|
|
url: https://github.com/trapexit/mergerfs/archive/refs/tags/{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: trapexit/mergerfs
|
|
|
|
platforms: linux
|
|
|
|
build:
|
|
dependencies:
|
|
git-scm.org: '*'
|
|
python.org: '>=3<3.12'
|
|
script:
|
|
# Set the version
|
|
- run: sed -i -e 's/^VERSION=.*/VERSION={{ version }}/' update-version
|
|
if: <2.39
|
|
working-directory: tools
|
|
- run: sed -i -e 's/^VERSION=.*/VERSION={{ version }}/' update-version
|
|
if: '>=2.39'
|
|
working-directory: buildtools
|
|
|
|
# Don't try to chown/chmod on install
|
|
- sed -i -e '/\(chown\|chmod\)/d' libfuse/Makefile
|
|
|
|
- make --jobs {{ hw.concurrency }}
|
|
- make install DESTDIR="{{prefix}}" PREFIX=""
|
|
env:
|
|
CFLAGS: -Wno-implicit-function-declaration
|
|
CC: clang
|
|
CXX: clang++
|
|
|
|
provides:
|
|
- bin/mergerfs
|
|
- bin/mergerfs-fusermount
|
|
- sbin/mount.mergerfs
|
|
|
|
# FIXME: Maybe? Complicated to test something that mounts filesystems...
|
|
test: mergerfs --version | grep "{{ version }}"
|