procps-ng: update to 3.3.7.

This commit is contained in:
Juan RP 2013-03-28 05:33:18 +01:00
parent 18bef455bc
commit 3a81090be8

View file

@ -1,22 +1,20 @@
# Template file for 'procps-ng'
pkgname=procps-ng
version=3.3.5
revision=4
wrksrc="procps-procps"
build_style=gnu-configure
configure_args="--exec-prefix=/ --prefix=/usr --libdir=/usr/lib --disable-static"
version=3.3.7
revision=1
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="http://xbps.nopcode.org/distfiles/${pkgname}-${version}.tar.gz"
checksum=d3ac6611af888ef8e4f32f4b60718af77d32d8e3abe07f63d985b3abca332d53
conf_files="/etc/sysctl.conf"
replaces="procps>=0"
provides="procps-${version}"
conflicts="coreutils<8.21_3"
nofetch=yes
noextract=yes
hostmakedepends="libtool automake gettext-devel pkg-config"
makedepends="ncurses-devel"
@ -25,12 +23,26 @@ if [ "$XBPS_CROSS_BUILD" ]; then
ac_cv_func_realloc_0_nonnull=yes"
fi
pre_configure() {
echo ${version} > .tarball-version
./autogen.sh
do_fetch() {
git clone git://gitorious.org/procps/procps.git \
-b v${version} ${pkgname}-${version}
}
post_install() {
do_configure() {
echo ${version} > .tarball-version
./autogen.sh
./configure ${CONFIGURE_SHARED_ARGS} --exec-prefix=/ \
--prefix=/usr --libdir=/usr/lib --disable-static
}
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
vinstall ${FILESDIR}/sysctl.conf 644 etc
# provided by util-linux