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
1 # Description: The /proc file system utilities
2 # URL: http://procps.sourceforge.net/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: ncurses
6
7 name=procps
8 version=3.2.8
9 release=2
10 source=(http://procps.sourceforge.net/$name-$version.tar.gz \
11 sysctl.conf \
12 procps-3.2.8-priorities.patch)
13
14 build() {
15 cd $name-$version
16 patch -p1 -i $SRC/procps-3.2.8-priorities.patch
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
30 }