mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+mergerfs
This commit is contained in:
parent
f6f7b1c89d
commit
8f12669c03
1 changed files with 35 additions and 0 deletions
35
projects/spawn.link/package.yml
Normal file
35
projects/spawn.link/package.yml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/trapexit/mergerfs/archive/refs/tags/{{ version }}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: trapexit/mergerfs
|
||||||
|
|
||||||
|
platforms: linux
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
git-scm.org: '*'
|
||||||
|
python.org: ^3
|
||||||
|
script: |
|
||||||
|
# Set the version
|
||||||
|
sed -i.bak -e 's/^VERSION=.*/VERSION={{ version }}/' tools/update-version
|
||||||
|
rm tools/update-version.bak
|
||||||
|
|
||||||
|
# Don't try to chown/chmod on install
|
||||||
|
sed -i.bak -e '/\(chown\|chmod\)/d' libfuse/Makefile
|
||||||
|
rm libfuse/Makefile.bak
|
||||||
|
|
||||||
|
make --jobs {{ hw.concurrency }}
|
||||||
|
make install DESTDIR="{{prefix}}" PREFIX=""
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/mergerfs
|
||||||
|
- bin/mergerfs-fusermount
|
||||||
|
- sbin/mount.mergerfs
|
||||||
|
|
||||||
|
# FIXME: Maybe? Complicated to test something that mounts filesystems...
|
||||||
|
test: |
|
||||||
|
test "$(mergerfs --version)" = "mergerfs version: {{ version }}"
|
Loading…
Reference in a new issue