CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
procps: Added patch to fix priorities and avoid HZ messages. (Thank you Tilman)
[crossrootfs.git] / procps / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: The /proc file system utilities
2# URL: http://procps.sourceforge.net/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5# Depends on: ncurses
6
7name=procps
2b65c71b 8version=3.2.8
1414c7e3 9release=2
6dca1d21 10source=(http://procps.sourceforge.net/$name-$version.tar.gz \
1414c7e3
VM
11 sysctl.conf \
12 procps-3.2.8-priorities.patch)
6dca1d21
JB
13
14build() {
2b65c71b 15 cd $name-$version
1414c7e3 16 patch -p1 -i $SRC/procps-3.2.8-priorities.patch
2b65c71b
JB
17 make
18 make DESTDIR=$PKG \
19 ldconfig=true \
20 man1=$PKG/usr/man/man1/ \
21 man5=$PKG/usr/man/man5/ \
22 man8=$PKG/usr/man/man8/ \
23 install
24 install -D -m644 ../sysctl.conf $PKG/etc/sysctl.conf
25
26 rm -f $PKG/bin/kill $PKG/usr/man/man1/kill.1
27 ln -sf pgrep $PKG/usr/bin/pkill
28 ln -sf skill $PKG/usr/bin/snice
29 chmod +w -R $PKG
6dca1d21 30}