35 lines
945 B
Plaintext
35 lines
945 B
Plaintext
# Description: The /proc file system utilities
|
|
# URL: http://gitorious.org/procps
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: ncurses
|
|
|
|
name=procps
|
|
version=3.3.10
|
|
release=2
|
|
source=(http://downloads.sourceforge.net/project/procps-ng/Production/$name-ng-$version.tar.xz
|
|
sysctl.conf)
|
|
|
|
build() {
|
|
cd $name-ng-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--exec-prefix=/ \
|
|
--libdir=/usr/lib \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/man \
|
|
--disable-nls \
|
|
--disable-kill \
|
|
--disable-modern-top
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d $PKG/{lib,etc}
|
|
mv $PKG/usr/bin/pidof $PKG/bin/
|
|
mv $PKG/usr/lib/libprocps.so.* $PKG/lib
|
|
ln -sf ../../lib/$(readlink $PKG/lib/libprocps.so.4) $PKG/usr/lib/libprocps.so
|
|
install -m 0644 $SRC/sysctl.conf $PKG/etc/sysctl.conf
|
|
|
|
rm -r $PKG/usr/share
|
|
}
|