pantry/projects/github.com/lm-sensors/lm-sensors/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

28 lines
628 B
YAML

distributable:
url: https://github.com/lm-sensors/lm-sensors/archive/V{{version.major}}-{{version.minor}}-{{version.patch}}.tar.gz
strip-components: 1
versions:
github: lm-sensors/lm-sensors/tags
match: /V\d+-\d+-\d+/
strip: /^V/
platforms:
- linux
build:
dependencies:
gnu.org/bison: '*'
github.com/westes/flex: '*'
gnu.org/make: '*'
script:
- make $ARGS
- make $ARGS install
env:
ARGS:
- PREFIX={{prefix}}
- BUILD_STATIC_LIB=0
- MANDIR={{prefix}}/man
- ETCDIR={{prefix}}/etc
provides:
- bin/sensors
test:
script:
- sensors --version | grep {{version}}