summaryrefslogtreecommitdiffstats
path: root/procps/Pkgfile
blob: ee71e3d4ff3356de225e0ad3608e78c4bd2c00d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
description="Linux proc file system utilities."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://procps.sourceforge.net/"
depends=(ncurses)

name=procps
version=3.2.8
release=3
source=(
	http://procps.sourceforge.net/$name-$version.tar.gz
	$name-$version.patch
	$name-$version-linux-ver-init.patch
	sysctl.conf
)
build () 
{ 
	cd $name-$version;
	patch -p1 -i $SRC/$name-$version.patch;
	patch -p0 -i $SRC/$name-$version-linux-ver-init.patch;
	make;
	make DESTDIR=$PKG install;
	install -D -m644 $SRC/sysctl.conf $PKG/etc/sysctl.conf
	mkdir $PKG$prefix/share
	mv $PKG$prefix/man $PKG$prefix/share/man
}