CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
40550855898ff08453137090d9db06a8b9ca26ce
[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, crux-arm at mikeux dot dyndns dot org
5 # Depends on: ncurses
6
7 name=procps
8 version=3.2.8
9 release=1
10 source=(http://procps.sourceforge.net/$name-$version.tar.gz \
11 sysctl.conf)
12
13 build() {
14 cd $name-$version
15
16 make
17 make DESTDIR=$PKG \
18 ldconfig=true \
19 man1=$PKG/usr/man/man1/ \
20 man5=$PKG/usr/man/man5/ \
21 man8=$PKG/usr/man/man8/ \
22 install
23 install -D -m644 ../sysctl.conf $PKG/etc/sysctl.conf
24
25 rm -f $PKG/bin/kill $PKG/usr/man/man1/kill.1
26 ln -sf pgrep $PKG/usr/bin/pkill
27 ln -sf skill $PKG/usr/bin/snice
28 chmod +w -R $PKG
29 }