35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# Template file for 'procps-ng'
|
|
pkgname=procps-ng
|
|
version=3.3.10
|
|
revision=5
|
|
build_pie=yes
|
|
build_style=gnu-configure
|
|
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin
|
|
--libdir=/usr/lib --disable-static --disable-kill --enable-watch8bit
|
|
--disable-modern-top $(vopt_with systemd)"
|
|
hostmakedepends="automake libtool pkg-config gettext-devel"
|
|
makedepends="ncurses-devel $(vopt_if systemd systemd-devel)"
|
|
short_desc="Utilities for monitoring your system and its processes"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="http://gitorious.org/procps"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/Production/${pkgname}-${version}.tar.xz"
|
|
checksum=a02e6f98974dfceab79884df902ca3df30b0e9bad6d76aee0fb5dce17f267f04
|
|
|
|
# Package build options
|
|
build_options="systemd"
|
|
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
|
|
# Remove devel and docs.
|
|
rm -rf ${DESTDIR}/usr/share/doc \
|
|
${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
|
|
rm -f ${DESTDIR}/usr/lib/*.so
|
|
}
|