blob: ceac4ab28e4576253e0234db9fd6877a6f774aab (
plain) (
blame)
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
|
(
patch -p1 < $SCRIPT_DIRECTORY/procstatd-1.4.2.config &&
sedit "s/PREFIX=.*$/PREFIX=\/usr/" Makefile &&
sedit "s/share\///g" Makefile &&
sedit "s/port = 7881/port = 7885/" parsecl.c &&
make &&
make install &&
if spell_ok perl; then
cd webwatch
install -m 644 webwatch.config /etc/webwatch.config.default
install -m 755 clean_ipc /usr/bin
install -m 755 clean_procstatd /usr/bin
install -m 755 clean_prog /usr/bin
install -m 755 start_helper /usr/bin
install -m 755 clean_procstatd /usr/bin
install -m 755 webwatchd /usr/bin
install -m 755 -d /usr/share/procstatd
for FILE in `ls -1 meter/*` ;
do
install -m 644 $FILE /usr/share/procstatd
done
fi
) > $C_FIFO 2>&1
|