mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
949cd38015
commit
e5608baccc
1 changed files with 14 additions and 5 deletions
|
@ -1,10 +1,9 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://github.com/systemd/systemd/archive/refs/tags/v{{version.raw}}.tar.gz
|
url: https://github.com/systemd/systemd/archive/refs/tags/{{version.tag}}.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: systemd/systemd
|
github: systemd/systemd
|
||||||
strip: /v/
|
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
- linux
|
- linux
|
||||||
|
@ -44,7 +43,18 @@ build:
|
||||||
- meson setup $ARGS build
|
- meson setup $ARGS build
|
||||||
- meson compile -C build
|
- meson compile -C build
|
||||||
- meson install -C build
|
- meson install -C build
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- run: |
|
||||||
|
if test -d systemd; then
|
||||||
|
mv systemd/* .
|
||||||
|
rmdir systemd
|
||||||
|
ln -s . systemd
|
||||||
|
fi
|
||||||
|
working-directory: '{{prefix}}/include'
|
||||||
|
- run: |
|
||||||
|
if test -d systemd; then
|
||||||
|
ln -s systemd/lib* .
|
||||||
|
fi
|
||||||
|
working-directory: '{{prefix}}/lib'
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- --sysconfdir={{prefix}}/etc
|
- --sysconfdir={{prefix}}/etc
|
||||||
|
@ -117,5 +127,4 @@ provides:
|
||||||
- sbin/shutdown
|
- sbin/shutdown
|
||||||
- sbin/telinit
|
- sbin/telinit
|
||||||
|
|
||||||
test: |
|
test: "systemd-path | grep 'temporary: /tmp'"
|
||||||
systemd-path | grep 'temporary: /tmp'
|
|
||||||
|
|
Loading…
Reference in a new issue