35 lines
907 B
TOML
35 lines
907 B
TOML
[build]
|
|
type = "autotools"
|
|
|
|
[build.flags]
|
|
configure = [
|
|
"--disable-debuginfod",
|
|
"--enable-libdebuginfod=dummy",
|
|
]
|
|
make_dirs = [ "lib", "libelf" ]
|
|
make_install_dirs = [ "libelf" ]
|
|
post_install = [ "mkdir -p $DESTDIR/usr/lib/pkgconfig", "install -vm644 config/libelf.pc $DESTDIR/usr/lib/pkgconfig", "rm $DESTDIR/usr/lib/libelf.a" ]
|
|
# the tests fail with glibc 2.43
|
|
skip_tests = true
|
|
|
|
[dependencies]
|
|
runtime = [
|
|
"glibc",
|
|
"xz",
|
|
"bzip2",
|
|
"zlib-ng",
|
|
"zstd"
|
|
]
|
|
|
|
[package]
|
|
description = "Library to read, modify and create ELF files "
|
|
homepage = "https://sourceware.org/elfutils/"
|
|
license = "GPL-3.0-or-later AND ( GPL-2.0-or-later OR LGPL-3.0-or-later )"
|
|
name = "libelf"
|
|
version = "0.194"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
sha256 = "09e2ff033d39baa8b388a2d7fbc5390bfde99ae3b7c67c7daaf7433fbcf0f01e"
|
|
url = "https://sourceware.org/elfutils/ftp/$version/elfutils-$version.tar.bz2"
|