fix(dart)

requires procps(pgrep)

closes #4255
This commit is contained in:
Jacob Heider 2023-11-29 14:03:44 -05:00 committed by Jacob Heider
parent 755c3cd148
commit faf31aa423
2 changed files with 53 additions and 1 deletions

View file

@ -11,6 +11,9 @@ build:
python.org: '>=3<3.12'
tukaani.org/xz: '*'
git-scm.org: '*'
linux:
# required for fetch (pgrep)
gitlab.com/procps-ng/procps: '*'
script:
- run: git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
working-directory: $SRCROOT/resources
@ -25,7 +28,7 @@ build:
- run: |
ln -s ./../libexec/bin/dart dart
ln -s ./../libexec/bin/dartaotruntime dartaotruntime
working-directory: "{{prefix}}/bin"
working-directory: '{{prefix}}/bin'
env:
PATH: $SRCROOT/resources/depot_tools:$PATH
aarch64:

View file

@ -0,0 +1,49 @@
distributable:
url: https://gitlab.com/procps-ng/procps/-/archive/v{{ version }}/v{{ version }}.tar.gz
strip-components: 1
versions:
gitlab: procps-ng/procps/tags
platforms: linux
dependencies:
invisible-island.net/ncurses: '>=6.0'
build:
dependencies:
gnu.org/autoconf: '*'
gnu.org/automake: '*'
gnu.org/gettext: '*'
gnu.org/libtool: '*'
freedesktop.org/pkg-config: '*'
script:
- ./autogen.sh
- ./configure $ARGS
- make -j {{ hw.concurrency }} install
# also in gnu.org/coreutils, gitlab.com/procps-ng/watch
- run: rm kill uptime watch
working-directory: ${{prefix}}/bin
env:
ARGS:
- --disable-dependency-tracking
- --prefix={{ prefix }}
- --disable-nls
provides:
- bin/free
- bin/pgrep
- bin/pidof
- bin/pkill
- bin/pmap
- bin/ps
- bin/pwdx
- bin/slabtop
- bin/sysctl
- bin/tload
- bin/top
- bin/vmstat
- bin/w
test: pgrep bash