mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
436c90c51a
commit
d2e0aa4e73
1 changed files with 13 additions and 9 deletions
|
@ -11,19 +11,24 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
git-scm.org: '*'
|
git-scm.org: '*'
|
||||||
python.org: '>=3<3.12'
|
python.org: '>=3<3.12'
|
||||||
script: |
|
script:
|
||||||
# Set the version
|
# Set the version
|
||||||
sed -i.bak -e 's/^VERSION=.*/VERSION={{ version }}/' tools/update-version
|
- run: sed -i -e 's/^VERSION=.*/VERSION={{ version }}/' update-version
|
||||||
rm tools/update-version.bak
|
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
|
# Don't try to chown/chmod on install
|
||||||
sed -i.bak -e '/\(chown\|chmod\)/d' libfuse/Makefile
|
- sed -i -e '/\(chown\|chmod\)/d' libfuse/Makefile
|
||||||
rm libfuse/Makefile.bak
|
|
||||||
|
|
||||||
make --jobs {{ hw.concurrency }}
|
- make --jobs {{ hw.concurrency }}
|
||||||
make install DESTDIR="{{prefix}}" PREFIX=""
|
- make install DESTDIR="{{prefix}}" PREFIX=""
|
||||||
env:
|
env:
|
||||||
CFLAGS: -Wno-implicit-function-declaration
|
CFLAGS: -Wno-implicit-function-declaration
|
||||||
|
CC: clang
|
||||||
|
CXX: clang++
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/mergerfs
|
- bin/mergerfs
|
||||||
|
@ -31,5 +36,4 @@ provides:
|
||||||
- sbin/mount.mergerfs
|
- sbin/mount.mergerfs
|
||||||
|
|
||||||
# FIXME: Maybe? Complicated to test something that mounts filesystems...
|
# FIXME: Maybe? Complicated to test something that mounts filesystems...
|
||||||
test: |
|
test: mergerfs --version | grep "{{ version }}"
|
||||||
mergerfs --version | grep "{{ version }}"
|
|
||||||
|
|
Loading…
Reference in a new issue