summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysstat/sysstat.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/sysstat/sysstat.inc')
-rw-r--r--meta/recipes-extended/sysstat/sysstat.inc33
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 @@
1DESCRIPTION = "The sysstat utilities are a collection of performance monitoring tools for Linux."
2HOMEPAGE = "http://sebastien.godard.pagesperso-orange.fr/"
3LICENSE = "GPLv2+"
4SECTION = "console/utils"
5
6DEPENDS = "virtual/libintl"
7
8SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz \
9 file://99_sysstat"
10
11inherit autotools
12
13do_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
23pkg_postinst_${PN} () {
24 /etc/init.d/populate-volatile.sh update
25}
26
27
28FILES_${PN} += "${libdir}/sa"
29
30TARGET_CC_ARCH += "${LDFLAGS}"
31LDFLAGS_append_linux-uclibc = " -lintl"
32LDFLAGS_append_linux-uclibceabi = " -lintl"
33LDFLAGS_append_linux-uclibcspe = " -lintl"