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
+14 -2
View File
@@ -1,9 +1,21 @@
name: procps-ng
description: System monitoring utilities
version: 4.0.5
revision: 2
url: https://gitlab.com/procps-ng/procps/
license: GPL2-or-later,LGPL2.1-or-later
architecture: any
depends: ["glibc","elogind","ncurses"]
make_depends: ["gettext"]
type: source
depends:
- glibc
- elogind
- ncurses
make_depends:
- gettext
- git
downloads:
- url: https://gitlab.com/procps-ng/procps.git
type: git
clone_to: ${BPM_SOURCE}
git_branch: v${BPM_PKG_VERSION}
checksum: f46b2f7929cdfe2913ed0a7f585b09d6adbf994e
+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 \