Update package version to 0.194
This commit is contained in:
@@ -1,8 +1,24 @@
|
||||
name: libelf
|
||||
description: ELF handling library
|
||||
version: 0.193
|
||||
version: "0.194"
|
||||
revision: 1
|
||||
url: https://sourceware.org/elfutils/
|
||||
license: GPL2-or-later OR LGPL3-or-later
|
||||
architecture: any
|
||||
depends: ["pkgconf","bzip2","xz-utils","zlib","zstd"]
|
||||
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
|
||||
|
||||
@@ -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 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
|
||||
# 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() {
|
||||
wget "$DOWNLOAD"
|
||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
||||
cd "$BPM_SOURCE"
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
@@ -18,6 +15,7 @@ build() {
|
||||
# Remove failing test
|
||||
sed -e 's/run-backtrace-native.sh//g' -i tests/Makefile.am
|
||||
|
||||
export CFLAGS="${CFLAGS} -ffat-lto-objects -g"
|
||||
./configure --prefix=/usr \
|
||||
--disable-debuginfod \
|
||||
--enable-libdebuginfod=dummy \
|
||||
@@ -29,9 +27,9 @@ build() {
|
||||
# The check function is executed in the source directory
|
||||
# This function is used to run tests to verify the package has been compiled correctly
|
||||
# Temporarily disabled due to failing test
|
||||
#check() {
|
||||
# make check
|
||||
#}
|
||||
check() {
|
||||
make check
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
|
||||
Reference in New Issue
Block a user