2006-02-23 15:26:10 +00:00
|
|
|
# Description: The /proc file system utilities
|
2021-12-13 11:56:14 +01:00
|
|
|
# URL: https://gitlab.com/procps-ng/procps
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: ncurses
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=procps
|
2023-08-31 22:59:29 +02:00
|
|
|
version=4.0.4
|
2015-08-12 15:17:58 +02:00
|
|
|
release=1
|
2022-04-21 20:01:40 +02:00
|
|
|
source=(http://downloads.sourceforge.net/project/procps-ng/Production/$name-ng-$version.tar.xz
|
2021-12-13 11:56:14 +01:00
|
|
|
sysctl.conf)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2022-04-21 20:01:40 +02:00
|
|
|
cd $name-ng-$version
|
2021-02-15 14:51:24 +01:00
|
|
|
|
2021-12-13 11:56:14 +01:00
|
|
|
export LINGUAS=' '
|
2012-05-22 17:18:14 +02:00
|
|
|
|
2022-03-23 15:07:56 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2021-12-13 11:56:14 +01:00
|
|
|
--sbindir=/sbin \
|
|
|
|
--libdir=/usr/lib \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-kill \
|
|
|
|
--disable-modern-top
|
2012-05-22 17:18:14 +02:00
|
|
|
|
2021-12-13 11:56:14 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2012-05-22 17:18:14 +02:00
|
|
|
|
2021-12-13 11:56:14 +01:00
|
|
|
install -d $PKG/{bin,lib,etc}
|
|
|
|
mv $PKG/usr/bin/{ps,pidof} $PKG/bin/
|
2022-10-21 10:44:51 +02:00
|
|
|
mv $PKG/usr/lib/libproc2.so.* $PKG/lib
|
|
|
|
ln -sf ../../lib/$(readlink $PKG/lib/libproc2.so.0) $PKG/usr/lib/libproc2.so
|
2021-12-13 11:56:14 +01:00
|
|
|
install -m 0644 $SRC/sysctl.conf $PKG/etc/sysctl.conf
|
2012-05-22 17:18:14 +02:00
|
|
|
|
2021-12-13 11:56:14 +01:00
|
|
|
rm -r $PKG/usr/share/doc
|
2010-11-22 17:56:59 +01:00
|
|
|
}
|