Switch to new download format and fix pkgconfig file version
This commit is contained in:
@@ -1,9 +1,21 @@
|
|||||||
name: procps-ng
|
name: procps-ng
|
||||||
description: System monitoring utilities
|
description: System monitoring utilities
|
||||||
version: 4.0.5
|
version: 4.0.5
|
||||||
|
revision: 2
|
||||||
url: https://gitlab.com/procps-ng/procps/
|
url: https://gitlab.com/procps-ng/procps/
|
||||||
license: GPL2-or-later,LGPL2.1-or-later
|
license: GPL2-or-later,LGPL2.1-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc","elogind","ncurses"]
|
|
||||||
make_depends: ["gettext"]
|
|
||||||
type: source
|
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
|
||||||
|
|||||||
@@ -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 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://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
|
# 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"
|
./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
./autogen.sh
|
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--docdir=/usr/share/doc/procps-ng \
|
--docdir=/usr/share/doc/procps-ng \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
|||||||
Reference in New Issue
Block a user