CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
c397ad0ff5ee7ef019037721c62944364305c28c
[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=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 }