diff options
Diffstat (limited to 'meta/recipes-extended/sysstat/sysstat.inc')
-rw-r--r-- | meta/recipes-extended/sysstat/sysstat.inc | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc new file mode 100644 index 0000000000..564bc7da07 --- /dev/null +++ b/meta/recipes-extended/sysstat/sysstat.inc | |||
@@ -0,0 +1,33 @@ | |||
1 | DESCRIPTION = "The sysstat utilities are a collection of performance monitoring tools for Linux." | ||
2 | HOMEPAGE = "http://sebastien.godard.pagesperso-orange.fr/" | ||
3 | LICENSE = "GPLv2+" | ||
4 | SECTION = "console/utils" | ||
5 | |||
6 | DEPENDS = "virtual/libintl" | ||
7 | |||
8 | SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz \ | ||
9 | file://99_sysstat" | ||
10 | |||
11 | inherit autotools | ||
12 | |||
13 | do_install() { | ||
14 | autotools_do_install | ||
15 | |||
16 | # don't install /var/log/sa when populating rootfs. Do it through volatile | ||
17 | |||
18 | rm -rf ${D}/var | ||
19 | install -d ${D}/etc/default/volatiles | ||
20 | install -m 0644 ${WORKDIR}/99_sysstat ${D}/etc/default/volatiles | ||
21 | } | ||
22 | |||
23 | pkg_postinst_${PN} () { | ||
24 | /etc/init.d/populate-volatile.sh update | ||
25 | } | ||
26 | |||
27 | |||
28 | FILES_${PN} += "${libdir}/sa" | ||
29 | |||
30 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
31 | LDFLAGS_append_linux-uclibc = " -lintl" | ||
32 | LDFLAGS_append_linux-uclibceabi = " -lintl" | ||
33 | LDFLAGS_append_linux-uclibcspe = " -lintl" | ||