Switch to new download format and fix pkgconfig file version

This commit is contained in:
2025-10-12 10:51:23 +03:00
parent 2c70b5d118
commit 10d73eb2ea
2 changed files with 17 additions and 10 deletions
+3 -8
View File
@@ -2,21 +2,16 @@
# 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://gitlab.com/procps-ng/procps/-/archive/v${BPM_PKG_VERSION}/procps-v4${BPM_PKG_VERSION}.tar.gz"
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"
./autogen.sh
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
./autogen.sh
./configure --prefix=/usr \
--docdir=/usr/share/doc/procps-ng \
--disable-static \