void-packages/srcpkgs/procps-ng/template

31 lines
1,009 B
Text
Raw Normal View History

2013-02-19 22:51:50 +00:00
# Template file for 'procps-ng'
pkgname=procps-ng
2014-10-21 13:20:31 +00:00
version=3.3.10
revision=2
2013-12-06 17:45:17 +00:00
build_style=gnu-configure
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin
--libdir=/usr/lib --disable-static --disable-kill $(vopt_with systemd)"
hostmakedepends="automake libtool pkg-config gettext-devel"
makedepends="ncurses-devel $(vopt_if systemd systemd-devel)"
2013-02-19 22:51:50 +00:00
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"
2013-12-06 17:45:17 +00:00
distfiles="${SOURCEFORGE_SITE}/${pkgname}/Production/${pkgname}-${version}.tar.xz"
2014-10-21 13:20:31 +00:00
checksum=a02e6f98974dfceab79884df902ca3df30b0e9bad6d76aee0fb5dce17f267f04
2013-02-19 22:51:50 +00:00
# Package build options
build_options="systemd"
conf_files="/etc/sysctl.conf"
pre_configure() {
autoreconf -fi
}
2013-12-06 17:45:17 +00:00
post_install() {
vconf ${FILESDIR}/sysctl.conf
2013-02-19 22:51:50 +00:00
# Remove devel and docs.
rm -rf ${DESTDIR}/usr/share/doc \
${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
2013-12-06 17:45:17 +00:00
rm -f ${DESTDIR}/usr/lib/*.so
2013-02-19 22:51:50 +00:00
}