mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
smartmontools.org (#1702)
* new file: projects/smartmontools.org/package.yml * use scraper for `versions:` --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
c9b27dbe7e
commit
2a976287e4
1 changed files with 34 additions and 0 deletions
34
projects/smartmontools.org/package.yml
Normal file
34
projects/smartmontools.org/package.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
distributable:
|
||||
url: https://downloads.sourceforge.net/project/smartmontools/smartmontools/{{version.marketing}}/smartmontools-{{version.marketing}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: https://sourceforge.net/projects/smartmontools/files/smartmontools/
|
||||
match: _/projects/smartmontools/files/smartmontools/\d+.\d+/_
|
||||
strip:
|
||||
- _^/projects/smartmontools/files/smartmontools/_
|
||||
- _/$_
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
- --disable-dependency-tracking
|
||||
- --with-savestates
|
||||
- --with-attributelog
|
||||
- --with-nvme-devicescan
|
||||
|
||||
provides:
|
||||
- bin/smartctl
|
||||
- bin/smartd
|
||||
|
||||
test:
|
||||
script:
|
||||
smartctl --version | grep {{version.marketing}}
|
Loading…
Reference in a new issue