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:
|
||||
git-scm.org: '*'
|
||||
python.org: '>=3<3.12'
|
||||
script: |
|
||||
script:
|
||||
# Set the version
|
||||
sed -i.bak -e 's/^VERSION=.*/VERSION={{ version }}/' tools/update-version
|
||||
rm tools/update-version.bak
|
||||
- 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.bak -e '/\(chown\|chmod\)/d' libfuse/Makefile
|
||||
rm libfuse/Makefile.bak
|
||||
- sed -i -e '/\(chown\|chmod\)/d' libfuse/Makefile
|
||||
|
||||
make --jobs {{ hw.concurrency }}
|
||||
make install DESTDIR="{{prefix}}" PREFIX=""
|
||||
- make --jobs {{ hw.concurrency }}
|
||||
- make install DESTDIR="{{prefix}}" PREFIX=""
|
||||
env:
|
||||
CFLAGS: -Wno-implicit-function-declaration
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
|
||||
provides:
|
||||
- bin/mergerfs
|
||||
|
@ -31,5 +36,4 @@ provides:
|
|||
- sbin/mount.mergerfs
|
||||
|
||||
# FIXME: Maybe? Complicated to test something that mounts filesystems...
|
||||
test: |
|
||||
mergerfs --version | grep "{{ version }}"
|
||||
test: mergerfs --version | grep "{{ version }}"
|
||||
|
|
Loading…
Reference in a new issue