Update package version to 0.194

This commit is contained in:
2025-11-01 11:30:18 +02:00
parent 1e87861501
commit e29c3979d4
2 changed files with 26 additions and 12 deletions
+18 -2
View File
@@ -1,8 +1,24 @@
name: libelf name: libelf
description: ELF handling library description: ELF handling library
version: 0.193 version: "0.194"
revision: 1
url: https://sourceware.org/elfutils/ url: https://sourceware.org/elfutils/
license: GPL2-or-later OR LGPL3-or-later license: GPL2-or-later OR LGPL3-or-later
architecture: any architecture: any
depends: ["pkgconf","bzip2","xz-utils","zlib","zstd"]
type: source type: source
depends:
- bzip2
- curl
- glibc
- json-c
- xz-utils
- zlib
- zstd
make_depends:
- libarchive
- sqlite
downloads:
- url: https://sourceware.org/ftp/elfutils/${BPM_PKG_VERSION}/elfutils-${BPM_PKG_VERSION}.tar.bz2
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 09e2ff033d39baa8b388a2d7fbc5390bfde99ae3b7c67c7daaf7433fbcf0f01e
+8 -10
View File
@@ -2,14 +2,11 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
DOWNLOAD="https://sourceware.org/ftp/elfutils/${BPM_PKG_VERSION}/elfutils-${BPM_PKG_VERSION}.tar.bz2"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory # The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location # This function is used for putting downloaded files to the correct location or applying patches
prepare() { prepare() {
wget "$DOWNLOAD" cd "$BPM_SOURCE"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" autoreconf -fi
} }
# The build function is executed in the source directory # The build function is executed in the source directory
@@ -17,7 +14,8 @@ prepare() {
build() { build() {
# Remove failing test # Remove failing test
sed -e 's/run-backtrace-native.sh//g' -i tests/Makefile.am sed -e 's/run-backtrace-native.sh//g' -i tests/Makefile.am
export CFLAGS="${CFLAGS} -ffat-lto-objects -g"
./configure --prefix=/usr \ ./configure --prefix=/usr \
--disable-debuginfod \ --disable-debuginfod \
--enable-libdebuginfod=dummy \ --enable-libdebuginfod=dummy \
@@ -29,9 +27,9 @@ build() {
# The check function is executed in the source directory # The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly # This function is used to run tests to verify the package has been compiled correctly
# Temporarily disabled due to failing test # Temporarily disabled due to failing test
#check() { check() {
# make check make check
#} }
# The package function is executed in the source directory # The package function is executed in the source directory
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory