void-packages/srcpkgs/procps-ng/template
2013-12-06 18:45:17 +01:00

35 lines
1.1 KiB
Text

# Template file for 'procps-ng'
pkgname=procps-ng
version=3.3.9
revision=1
build_style=gnu-configure
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin
--libdir=/usr/lib --disable-static --with-systemd
ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_strtod=yes ac_cv_func_mmap_fixed_mapped=yes"
hostmakedepends="pkg-config"
makedepends="ncurses-devel 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=00f0cb0fadf968ddf605b0ef119846af07386629244d4f3da711a2cecf4e8663
post_install() {
# provided by util-linux
rm ${DESTDIR}/usr/bin/kill
rm ${DESTDIR}/usr/share/man/man1/kill.1
# Remove devel and docs.
rm -rf ${DESTDIR}/usr/share/doc \
${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
rm -f ${DESTDIR}/usr/lib/*.so
}
procps-ng_package() {
conflicts="coreutils<8.21_3"
pkg_install() {
vmove all
}
}