CRUX-ARM : Home

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