mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
github.com/lm-sensors
This commit is contained in:
parent
0d551a6baf
commit
f586deb49a
1 changed files with 29 additions and 0 deletions
29
projects/github.com/lm-sensors/lm-sensors/package.yml
Normal file
29
projects/github.com/lm-sensors/lm-sensors/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
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:
|
||||
tea.xyz/gx/cc: c99
|
||||
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}}
|
Loading…
Reference in a new issue