39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'procps-ng'
|
|
pkgname=procps-ng
|
|
version=3.3.13
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/bin
|
|
--libdir=/usr/lib --disable-kill --enable-watch8bit
|
|
--disable-modern-top --without-systemd"
|
|
hostmakedepends="automake libtool pkg-config gettext-devel"
|
|
makedepends="ncurses-devel"
|
|
short_desc="Utilities for monitoring your system and its processes"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="https://gitlab.com/procps-ng/procps"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/Production/${pkgname}-${version}.tar.xz"
|
|
checksum=52b05b2bd5b05f46f24766a10474337ebadd828df9915e2b178df291cf88f7d3
|
|
|
|
conf_files="/etc/sysctl.conf"
|
|
|
|
post_extract() {
|
|
sed -i 's,ncursesw/ncurses.h,ncurses.h,g' watch.c
|
|
}
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
post_install() {
|
|
vconf ${FILESDIR}/sysctl.conf
|
|
}
|
|
procps-ng-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/share/man/man3
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|