Update package version to 4.0.5

This commit is contained in:
2025-05-12 12:35:59 +03:00
parent 87c81628c4
commit 2c70b5d118
3 changed files with 31 additions and 7 deletions
+9 -2
View File
@@ -2,7 +2,7 @@
# 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://sourceforge.net/projects/procps-ng/files/Production/procps-ng-${BPM_PKG_VERSION}.tar.xz"
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
@@ -15,11 +15,14 @@ prepare() {
# 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 \
--disable-kill \
--without-systemd
--enable-watch8bit \
--with-elogind
make
}
@@ -33,4 +36,8 @@ check() {
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package licenses
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/procps-ng/COPYING
install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/procps-ng/COPYING.LIB
}