pkgsrc/devel/libstatgrab/Makefile

42 lines
1.2 KiB
Makefile
Raw Normal View History

2017-08-16 22:21:03 +02:00
# $NetBSD: Makefile,v 1.33 2017/08/16 20:21:08 wiz Exp $
Update to 0.91: libstatgrab 0.91 (11 July 2014) * Use /proc/mounts on Linux where available. Note that this potentially results in different data appearing in the filesystem statistics. To override the choice use the --with-mnttab configure flag. * Add a new field named device_canonical to the filesystem statistics. This always holds the real device and is useful in the case where device_name is a symlink. * Fix list miscounting in sg_set_valid_filesystems. * Fix buffer overrun when dealing with a larger number of processes. * Fix divide by zero display problem in saidar. * Building of examples is now disabled by default. Use the --enable-examples configure flag to build them if required. * Logging (log4cplus) is now only enabled if the --enable-logging configure flag is given. * When logging with log4cplus is enabled, properties files are installed in to ${prefix}/etc. Both statgrab and saidar will search this location when starting up. These files can be used to configure the behaviour of log4cplus. * Add Graphite output support in statgrab. (Thanks to John Lyman) * Fix test suite problem when doing a VPATH build. * Install distribution documentation (such as this file) in to ${prefix}/share/doc/libstatgrab. * Various other minor bug fixes identified by compiler warnings. * Update code for the Windows platform. This is incomplete, but we included the changes to give anyone else working in this area a better starting point. We welcome pull requests to further improve this code. The original pull request can be found in #36. (Thanks to Brent Cook)
2015-08-20 19:13:47 +02:00
DISTNAME= libstatgrab-0.91
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/
MASTER_SITES+= ftp://ftp.i-scream.org/pub/i-scream/libstatgrab/
MASTER_SITES+= http://ftp.i-scream.org/pub/i-scream/libstatgrab/
MASTER_SITES+= http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/
MASTER_SITES+= http://dl.ambiweb.de/mirrors/ftp.i-scream.org/libstatgrab/
MAINTAINER= pkgsrc-users@NetBSD.org
2017-08-16 22:21:03 +02:00
HOMEPAGE= https://www.i-scream.org/libstatgrab/
COMMENT= Provides a useful interface to system statistics
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
.include "options.mk"
2016-03-01 21:18:23 +01:00
CPPFLAGS.NetBSD+= -D_KERNTYPES
2007-08-30 21:29:15 +02:00
USE_TOOLS+= pkg-config perl:run
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE= libstatgrab.pc.in
REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-config.in
REPLACE_PERL+= src/statgrab/statgrab-make-mrtg-index.in
2007-08-30 21:29:15 +02:00
CONFIGURE_ARGS+= --disable-examples
# Default test target for Perl modules
TEST_TARGET?= test
2013-01-17 16:49:44 +01:00
CHECK_BUILTIN.pthread:= yes
.include "../../mk/pthread.builtin.mk"
CHECK_BUILTIN.pthread:= no
.include "../../devel/log4cplus/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"