mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -05:00
* Add unbuilt smartmontools to updater-smartmontools-7.5 * Modernize package. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * run autoreconf Signed-off-by: Satadru Pramanik <satadru@gmail.com> * updater-smartmontools-7.5: Package File Update Run on linux/386 container. * updater-smartmontools-7.5: Package File Update Run on linux/amd64 container. * updater-smartmontools-7.5: Package File Update Run on linux/arm/v7 container. --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: chromebrew-actions[bot] <220035932+chromebrew-actions[bot]@users.noreply.github.com>
28 lines
1.1 KiB
Ruby
28 lines
1.1 KiB
Ruby
require 'buildsystems/autotools'
|
|
|
|
class Smartmontools < Autotools
|
|
description 'The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA/SATA, SCSI/SAS and NVMe disks.'
|
|
homepage 'https://www.smartmontools.org/'
|
|
version '7.5'
|
|
license 'GPL-2'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/smartmontools/smartmontools.git'
|
|
git_hashtag "RELEASE_#{version.gsub('.', '_')}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '7d519e0df3d05336113254d985120c722a21f73818f4c7677238df470d1bd27f',
|
|
armv7l: '7d519e0df3d05336113254d985120c722a21f73818f4c7677238df470d1bd27f',
|
|
i686: '4d409d8259e8ded32464d5dae0f983874be354e0fd93457cf7cd7bbc286c3946',
|
|
x86_64: 'f069146b0e107ff66d93bb6287fb6f74bd2a82d8e7e73e8b8576678a418ab7cb'
|
|
})
|
|
|
|
depends_on 'gpgme'
|
|
|
|
autotools_configure_options '--with-nvme-devicescan --disable-maintainer-mode'
|
|
|
|
def self.prebuild
|
|
system 'autoreconf -fiv'
|
|
end
|
|
end
|