From f586deb49a5125e9d593f274646fda17ddc23d9d Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Sat, 29 Jul 2023 19:11:52 +0300 Subject: [PATCH] github.com/lm-sensors --- .../lm-sensors/lm-sensors/package.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 projects/github.com/lm-sensors/lm-sensors/package.yml diff --git a/projects/github.com/lm-sensors/lm-sensors/package.yml b/projects/github.com/lm-sensors/lm-sensors/package.yml new file mode 100644 index 00000000..393a38af --- /dev/null +++ b/projects/github.com/lm-sensors/lm-sensors/package.yml @@ -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}}