diff options
Diffstat (limited to 'meta-lsb/packages')
-rw-r--r-- | meta-lsb/packages/sysstat/files/99_sysstat | 1 | ||||
-rw-r--r-- | meta-lsb/packages/sysstat/sysstat.inc | 33 | ||||
-rw-r--r-- | meta-lsb/packages/sysstat/sysstat_9.1.4.bb | 7 |
3 files changed, 41 insertions, 0 deletions
diff --git a/meta-lsb/packages/sysstat/files/99_sysstat b/meta-lsb/packages/sysstat/files/99_sysstat new file mode 100644 index 0000000000..0b0ec30de0 --- /dev/null +++ b/meta-lsb/packages/sysstat/files/99_sysstat | |||
@@ -0,0 +1 @@ | |||
d root root 0755 /var/log/sa none | |||
diff --git a/meta-lsb/packages/sysstat/sysstat.inc b/meta-lsb/packages/sysstat/sysstat.inc new file mode 100644 index 0000000000..564bc7da07 --- /dev/null +++ b/meta-lsb/packages/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" | ||
diff --git a/meta-lsb/packages/sysstat/sysstat_9.1.4.bb b/meta-lsb/packages/sysstat/sysstat_9.1.4.bb new file mode 100644 index 0000000000..d7b7e667d6 --- /dev/null +++ b/meta-lsb/packages/sysstat/sysstat_9.1.4.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | require sysstat.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | ||
4 | |||
5 | PR = "r0" | ||
6 | |||
7 | |||