2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-10-18 21:03:09 +02:00
|
|
|
#
|
|
|
|
# sysstat
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-10-18 21:03:09 +02:00
|
|
|
|
2017-05-15 14:56:37 +02:00
|
|
|
SYSSTAT_VERSION = 11.4.4
|
2014-09-17 15:20:50 +02:00
|
|
|
SYSSTAT_SOURCE = sysstat-$(SYSSTAT_VERSION).tar.xz
|
2011-10-15 05:07:24 +02:00
|
|
|
SYSSTAT_SITE = http://pagesperso-orange.fr/sebastien.godard
|
2017-05-15 14:56:37 +02:00
|
|
|
SYSSTAT_CONF_OPTS = --disable-file-attr --disable-sensors
|
2013-04-04 02:32:21 +02:00
|
|
|
SYSSTAT_DEPENDENCIES = host-gettext
|
2017-03-30 15:43:32 +02:00
|
|
|
SYSSTAT_LICENSE = GPL-2.0+
|
2013-06-28 15:41:11 +02:00
|
|
|
SYSSTAT_LICENSE_FILES = COPYING
|
2009-10-18 21:03:09 +02:00
|
|
|
|
2010-11-16 14:14:45 +01:00
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
2012-09-16 14:57:49 +02:00
|
|
|
SYSSTAT_DEPENDENCIES += gettext
|
package/systat: fix linking with -lintl
When linking, libraries should be listed in the reverse-dependency order,
that is the library/ies with no dependency last, preceded by libraries
that depend on them.
And most importantly, libraries should be listed *after* the local
objects, .o files.
Currently, sysstat uses CFLAGS to shoehorn the -lintl linker flags,
which is incorrect, as the CFLAGS are passed before the object files.
However, sysstat has a LFLAGS variable that, presumably, is to be used
to pass linker flags. This is where we want to shoehorn -lintl.
Fixes:
http://autobuild.buildroot.org/results/8cc/8cc547074de23b9482ad110234ef7458a44e174a/
http://autobuild.buildroot.org/results/360/360f7b8252dc9f6bb47841b1d7207a121f90048c/
http://autobuild.buildroot.org/results/04c/04cfc76a09e089985549a4320f34f6669d21cab5/
http://autobuild.buildroot.org/results/818/818c08decf4a6190a9ed39915eae4cd3d2779880/
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-13 15:48:21 +02:00
|
|
|
SYSSTAT_MAKE_OPTS += LFLAGS="$(TARGET_LDFLAGS) -lintl"
|
2010-11-16 14:14:45 +01:00
|
|
|
endif
|
|
|
|
|
2009-10-18 21:03:09 +02:00
|
|
|
# The isag tool is a post processing script that depends on tcl/tk
|
|
|
|
# among other things. So we don't install it.
|
2014-09-27 21:32:40 +02:00
|
|
|
SYSSTAT_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) INSTALL_ISAG=n install
|
2009-10-18 21:03:09 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|