Files
chromebrew/packages/udisks2.rb

35 lines
1.2 KiB
Ruby

require 'package'
class Udisks2 < Package
description 'The UDisks project provides a daemon, tools and libraries to access and manipulate disks, storage devices and technologies.'
homepage 'https://github.com/storaged-project/udisks'
version '2.9.4'
license 'GPL-2.0+'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://github.com/storaged-project/udisks/releases/download/udisks-2.9.4/udisks-2.9.4.tar.bz2'
source_sha256 'b6b60ebab0d5e09624120c5d158882e87d8c2473db60783b63deeba74cb18d1c'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '59f26464c9a739f1ef66fa0ead9edb61bbbf166e792898c9ca059d8610b25390',
armv7l: '59f26464c9a739f1ef66fa0ead9edb61bbbf166e792898c9ca059d8610b25390',
x86_64: '8d432df4504b775ec135e095d197f25074bf56eeb5c55fb68ccde569e2ecb844'
})
depends_on 'libatasmart' => :build
depends_on 'libblockdev' => :build
depends_on 'libgudev' => :build
depends_on 'libkmod' => :build
depends_on 'polkit' => :build
def self.build
system 'filefix'
system "./configure #{CREW_CONFIGURE_OPTIONS} --disable-man"
system 'make'
end
def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}"
end
end