Commit 82c5aa03 authored by James Larrowe's avatar James Larrowe Committed by Ed Reel

Update Strace package to 5.2 (#3445)

parent 1900c2e7
...@@ -3,33 +3,26 @@ require 'package' ...@@ -3,33 +3,26 @@ require 'package'
class Strace < Package class Strace < Package
description 'strace is a diagnostic, debugging and instructional userspace utility for Linux.' description 'strace is a diagnostic, debugging and instructional userspace utility for Linux.'
homepage 'https://strace.io/' homepage 'https://strace.io/'
version '5.1' version '5.2'
source_url 'https://github.com/strace/strace/releases/download/v5.1/strace-5.1.tar.xz' source_url 'https://strace.io/files/5.2/strace-5.2.tar.xz'
source_sha256 'f5a341b97d7da88ee3760626872a4899bf23cf8dee56901f114be5b1837a9a8b' source_sha256 'd513bc085609a9afd64faf2ce71deb95b96faf46cd7bc86048bc655e4e4c24d2'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/strace-5.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/strace-5.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/strace-5.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/strace-5.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'd686b3b6f03f2c527a81825a5ed23450762156e99045013c4d92b83a8e48fca4',
armv7l: 'd686b3b6f03f2c527a81825a5ed23450762156e99045013c4d92b83a8e48fca4',
i686: '403ffd87e7c1d7c8e0aa778f3df5e25fc5a5838158c950b1e279e8180437bcdb',
x86_64: '1695f03c2c5ba9c143ae2282cd4d53421f41e0bbb28369b38795a248fe787440',
}) })
depends_on 'buildessential' depends_on 'libunwind' # Better stack trace support
def self.build def self.build
system "./configure", system './configure',
"--prefix=#{CREW_PREFIX}", '--with-libunwind',
"--libdir=#{CREW_LIB_PREFIX}" "--prefix=#{CREW_PREFIX}",
system "make" "--libdir=#{CREW_LIB_PREFIX}"
system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment