Files
chromebrew/packages/strace.rb
chromebrew-actions[bot] 13cbc4e475 updater-strace-6.16 — strace → 6.16 (#12967)
* Add unbuilt strace to updater-strace-6.16

* updater-strace-6.16: Build Run on linux/amd64.

* updater-strace-6.16: Build Run on linux/arm/v7.

* updater-strace-6.16: Build Run on linux/386.

* updater-strace-6.16: Package File Update Run on linux/386 container.

---------

Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2025-09-27 02:03:27 +00:00

28 lines
1.1 KiB
Ruby

require 'buildsystems/autotools'
class Strace < Autotools
description 'strace is a diagnostic, debugging and instructional userspace utility for Linux.'
homepage 'https://strace.io/'
version '6.16'
license 'BSD'
compatibility 'all'
source_url "https://strace.io/files/#{version}/strace-#{version}.tar.xz"
source_sha256 '3d7aee7e4f044b2f67f3d51a8a76eda18076e9fb2774de54ac351d777d4ebffa'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '5788d69362290f7449236f8e8ac03cf8ac4dc2bdacbf112cae2d49b7a19f3037',
armv7l: '5788d69362290f7449236f8e8ac03cf8ac4dc2bdacbf112cae2d49b7a19f3037',
i686: '1337497023e3515313619a4863a4d4cd8a71259c3dc0404c954853c4ada71102',
x86_64: '4618965949fdbf8b6aaa3a275b862f3bd86c02efc6f50d0eaad3835e46182c2c'
})
depends_on 'elfutils' # Needed for stack trace support
depends_on 'glibc' # R
# This needs to be built with linux headers 5.15 on x86_64 via
# CREW_KERNEL_VERSION=5.15 crew upgrade linuxheaders ; CREW_KERNEL_VERSION=5.15 crew build strace
autotools_configure_options '--disable-mpers --with-libdw --disable-gcc-Werror'
end