blob: 234892e9ec1c2e910129d529d421f1e4ee3ed2be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#!/bin/sh
MAKEDEPS="make utmps"
DEPS="ncurses"
PKG_VER=4.0.0
SOURCE=https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-$PKG_VER.tar.xz
DESC="Utilities for monitoring your system and its processes"
ADDITIONAL="
use_utmpx.patch
"
prepare () {
apply_patches
sed -i '1i#include <langinfo.h>' proc/escape.c
}
build () {
./configure --prefix=/usr \
--docdir=/usr/share/doc/procps-ng-$PKG_VER \
--disable-static \
--disable-w \
--disable-kill
make
}
#check () {
#make check
#}
package () {
make DESTDIR=$PKG_DEST install
}
|