blob: ca1c478b0bb99f255add0c365e3f64c418f87d5f (
plain)
1 # Packages: Per Lidén <per@fukt.bth.se>
2 # Maintainer: Han Boetes <han@mijncomputer.nl>
3 # URL: http://procps.sf.net
4 # Description: Utils for /proc filesystem
5 # Depends:
6
7
8
9 name=procps
10 version=3.2.6
11 release=1
12 source="
13 http://procps.sourceforge.net/$name-$version.tar.gz
14 sysctl.conf
15 "
16
17 build() {
18 cd $name-$version
19 # pkgadd runs ldconfig
20 sed -i 's|^ldconfig.*||' Makefile
21 make
22 make DESTDIR=$PKG \
23 man1=$PKG/usr/man/man1/ \
24 man5=$PKG/usr/man/man5/ \
25 man8=$PKG/usr/man/man8/ \
26 install
27 install -D -m644 $SRC/sysctl.conf $PKG/etc/sysctl.conf
28 rm -f $PKG/bin/kill \
29 $PKG/usr/man/man1/kill.1
30 ln -sf pgrep $PKG/usr/bin/pkill
31 ln -sf skill $PKG/usr/bin/snice
32 chmod +w -R $PKG
33 }
|