pantry/projects/smartmontools.org/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

33 lines
789 B
YAML

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:
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}}