2023-03-07 02:54:43 +03:00
|
|
|
distributable:
|
|
|
|
url: https://gitlab.com/procps-ng/procps/-/archive/v{{ version }}/v{{ version }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
gitlab: procps-ng/procps/tags
|
2023-03-07 02:54:43 +03:00
|
|
|
|
2023-05-01 20:14:59 +03:00
|
|
|
# Watch is broken out seperately from the rest of procps. While procps provides other
|
2023-03-07 02:54:43 +03:00
|
|
|
# useful tools they do not build on OSX and are part of almost every base distro already
|
|
|
|
provides:
|
|
|
|
- bin/watch
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
invisible-island.net/ncurses: '>=6.0'
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
gnu.org/autoconf: '*'
|
|
|
|
gnu.org/automake: '*'
|
|
|
|
gnu.org/gettext: '*'
|
|
|
|
gnu.org/libtool: '*'
|
|
|
|
freedesktop.org/pkg-config: '*'
|
|
|
|
script: |
|
|
|
|
autoreconf -fiv
|
|
|
|
./configure $ARGS
|
|
|
|
make src/watch
|
|
|
|
mkdir -p "{{ prefix }}"/bin
|
|
|
|
mv src/watch "{{ prefix }}"/bin
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- --disable-dependency-tracking
|
|
|
|
- --prefix={{ prefix }}
|
|
|
|
- --disable-nls
|
|
|
|
- --enable-watch8bit
|
|
|
|
|
|
|
|
# FIXME: a more comprehensive test could be written with access to a TTY
|
|
|
|
test: |
|
|
|
|
watch -h
|