core/procps/Pkgfile

36 lines
831 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01: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 16:26:10 +01:00
name=procps
2021-02-15 14:51:24 +01:00
version=3.3.17
2015-08-12 15:17:58 +02:00
release=1
2013-01-13 10:06:26 +01: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 16:26:10 +01:00
build() {
2021-12-13 11:56:14 +01:00
cd $name-$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
2021-12-13 11:56:14 +01:00
./configure --prefix=/usr \
--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/
mv $PKG/usr/lib/libprocps.so.* $PKG/lib
ln -sf ../../lib/$(readlink $PKG/lib/libprocps.so.8) $PKG/usr/lib/libprocps.so
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
}