Files
chromebrew/packages/libatasmart.rb
Maximilian Downey Twiss f6b6cab229 Rename autotools constants to fall in line with the rest of crew (#10442)
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS

* Rename build_extras and install_extras to configure_build_extras and configure_install_extras
2024-09-09 18:21:58 -05:00

33 lines
955 B
Ruby

require 'package'
class Libatasmart < Package
description 'LIBATASMART ATA S.M.A.R.T. Reading and Parsing Library'
homepage 'https://git.0pointer.net/libatasmart.git'
version '0.19'
license 'LGPL-2.1+'
compatibility 'all'
source_url 'https://git.0pointer.net/clone/libatasmart.git'
git_hashtag "v#{version}"
git_branch 'master'
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'fa0524f0bfd1114bfd8f240b1d78c684f4d589c9e574de4ecbea5cc0d6a12970',
armv7l: 'fa0524f0bfd1114bfd8f240b1d78c684f4d589c9e574de4ecbea5cc0d6a12970',
i686: '6584e9d789ea8ee639b350ab7d9824dc354abd5b2273ae2b679e1d3f2d652f7e',
x86_64: 'dd683c2b7d97c91a9f02ffd0bfee195cf5ca0411c17b922498009e35c0203946'
})
depends_on 'eudev' => :build
def self.build
system './autogen.sh'
system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}"
end
end