Files
chromebrew/packages/libprelude.rb
Maximilian Downey Twiss f6dc1d8d4e Derive binary_url in package.rb (#7082)
* Add binary_compression value to each package

* Remove binary_url values and arrays

* Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
2024-01-25 11:03:31 -05:00

32 lines
1.0 KiB
Ruby

require 'package'
class Libprelude < Package
description 'Prelude is a Universal "Security Information & Event Management" (SIEM) system.'
homepage 'https://www.prelude-siem.org/'
version '4.1.0'
license 'GPL-2+'
compatibility 'all'
source_url 'https://www.prelude-siem.org/attachments/download/831/libprelude-4.1.0.tar.gz'
source_sha256 '21ee5bee2fc4136903c606ad7891927b7b32a29e92ca7e418ac458823951562d'
binary_compression 'tar.xz'
binary_sha256({
aarch64: 'cb7139c322d79adb0dfa2a8c87b63d0b496c6485afed3a10dd48fdfe93cdf6c6',
armv7l: 'cb7139c322d79adb0dfa2a8c87b63d0b496c6485afed3a10dd48fdfe93cdf6c6',
i686: '32ddcbd6646843c224450cb45a018873f89b4c1f66a4addef5dcf15318d9d953',
x86_64: 'f7642b1ffb9a0b5ee5c22a3f1345fbc0ff8b7e334a9839c7d24b7108fd069806'
})
depends_on 'py3_six' => :build
def self.build
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX}"
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end