summaryrefslogtreecommitdiff
path: root/system/procps
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:16:48 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:16:48 +0000
commit8dd6cd1e8ed01b08a6328e1c842c645cda9ec532 (patch)
tree4fa087a3b33a583ac9f91e6b287f3fd99cb8f3a0 /system/procps
parent47e8187d7bbc157929fcbf6e11e9fa1374c500c2 (diff)
downloadpackages-8dd6cd1e8ed01b08a6328e1c842c645cda9ec532.tar.gz
packages-8dd6cd1e8ed01b08a6328e1c842c645cda9ec532.tar.bz2
packages-8dd6cd1e8ed01b08a6328e1c842c645cda9ec532.tar.xz
packages-8dd6cd1e8ed01b08a6328e1c842c645cda9ec532.zip
system/p*: modernise, fix dependencies
Diffstat (limited to 'system/procps')
-rw-r--r--system/procps/APKBUILD9
1 files changed, 2 insertions, 7 deletions
diff --git a/system/procps/APKBUILD b/system/procps/APKBUILD
index f16c674ae..65b740d62 100644
--- a/system/procps/APKBUILD
+++ b/system/procps/APKBUILD
@@ -6,9 +6,10 @@ pkgdesc="Utilities for monitoring your system and processes on your system"
url="https://gitlab.com/procps-ng/procps"
arch="all"
license="GPL-2.0+ LGPL-2.0+"
+depends=""
+checkdepends="dejagnu"
makedepends_build="autoconf automake libtool gettext-tiny"
makedepends_host="ncurses-dev utmps-dev"
-checkdepends="dejagnu"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang libproc"
source="https://gitlab.com/procps-ng/procps/-/archive/v$pkgver/procps-v$pkgver.tar.bz2
0001-pt_BR-fix-translation-error.patch
@@ -16,15 +17,12 @@ source="https://gitlab.com/procps-ng/procps/-/archive/v$pkgver/procps-v$pkgver.t
builddir="$srcdir/$pkgname-v$pkgver"
prepare() {
- cd "$builddir"
default_prepare
printf "$pkgver" > .tarball-version
./autogen.sh
}
build() {
- cd "$builddir"
-
export LIBS="$LIBS -lutmps -lskarnet"
export VERSION="$pkgver"
./configure \
@@ -47,14 +45,11 @@ build() {
}
check() {
- cd "$builddir"
# can't use `make check`; 'po' dir has no check target
make check-TESTS
}
package() {
- cd "$builddir"
-
make DESTDIR="$pkgdir" ldconfig=true install="install -D" \
install