2013-02-19 23:51:50 +01:00
|
|
|
# Template file for 'procps-ng'
|
|
|
|
pkgname=procps-ng
|
2013-12-06 18:45:17 +01:00
|
|
|
version=3.3.9
|
2014-04-26 10:21:59 +02:00
|
|
|
revision=2
|
2013-12-06 18:45:17 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin
|
2014-04-26 10:21:59 +02:00
|
|
|
--libdir=/usr/lib --disable-static"
|
2013-12-06 18:45:17 +01:00
|
|
|
hostmakedepends="pkg-config"
|
2014-04-26 10:21:59 +02:00
|
|
|
makedepends="ncurses-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
conflicts="coreutils<8.21_3"
|
2013-02-19 23:51:50 +01: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 18:45:17 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/Production/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=00f0cb0fadf968ddf605b0ef119846af07386629244d4f3da711a2cecf4e8663
|
2013-02-19 23:51:50 +01:00
|
|
|
|
2014-04-26 10:21:59 +02:00
|
|
|
# Package build options
|
|
|
|
build_options="systemd"
|
|
|
|
desc_option_systemd="Enable support for systemd login"
|
|
|
|
|
|
|
|
if [ "$build_option_systemd" ]; then
|
|
|
|
configure_args+=" --with-systemd"
|
|
|
|
makedepends+=" systemd-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --without-systemd"
|
|
|
|
fi
|
|
|
|
|
2013-12-06 18:45:17 +01:00
|
|
|
post_install() {
|
2013-02-20 11:59:05 +01:00
|
|
|
# provided by util-linux
|
2013-12-06 18:45:17 +01:00
|
|
|
rm ${DESTDIR}/usr/bin/kill
|
2013-02-20 11:59:05 +01:00
|
|
|
rm ${DESTDIR}/usr/share/man/man1/kill.1
|
2013-02-19 23:51:50 +01:00
|
|
|
|
|
|
|
# Remove devel and docs.
|
|
|
|
rm -rf ${DESTDIR}/usr/share/doc \
|
|
|
|
${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
|
2013-12-06 18:45:17 +01:00
|
|
|
rm -f ${DESTDIR}/usr/lib/*.so
|
2013-02-19 23:51:50 +01:00
|
|
|
}
|