aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/sysstat
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-01-10 12:12:19 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-01-10 12:12:19 +0100
commit2610f65bd7d2902302be6650b9536aa43cc58656 (patch)
tree798fff5d1ff2d22de2a7bc42f6103dfe801225b4 /recipes/sysstat
parent657fea552c0145701838ae96422741fe5b097fdf (diff)
downloadopenembedded-2610f65bd7d2902302be6650b9536aa43cc58656.tar.gz
sysstat: refactor into .inc file, add 9.0.6
Diffstat (limited to 'recipes/sysstat')
-rw-r--r--recipes/sysstat/sysstat.inc22
-rw-r--r--recipes/sysstat/sysstat_8.1.5.bb16
-rw-r--r--recipes/sysstat/sysstat_8.1.6.bb24
-rw-r--r--recipes/sysstat/sysstat_9.0.6.bb2
4 files changed, 28 insertions, 36 deletions
diff --git a/recipes/sysstat/sysstat.inc b/recipes/sysstat/sysstat.inc
new file mode 100644
index 0000000000..dcc6c85456
--- /dev/null
+++ b/recipes/sysstat/sysstat.inc
@@ -0,0 +1,22 @@
+DESCRIPTION = "The sysstat utilities are a collection of performance monitoring tools for Linux."
+HOMEPAGE = "http://pagesperso-orange.fr/sebastien.godard/"
+LICENSE = "GPL"
+SECTION = "console/utils"
+INC_PR = "r2"
+
+DEPENDS = "virtual/libintl"
+
+SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz"
+
+inherit autotools
+
+do_configure_prepend() {
+ sed -i s,'-g $(MAN_GROUP)','', Makefile.in
+}
+
+FILES_${PN} += "${libdir}/sa"
+
+TARGET_CC_ARCH += "${LDFLAGS}"
+LDFLAGS_append_linux-uclibc = " -lintl"
+LDFLAGS_append_linux-uclibceabi = " -lintl"
+LDFLAGS_append_linux-uclibcspe = " -lintl"
diff --git a/recipes/sysstat/sysstat_8.1.5.bb b/recipes/sysstat/sysstat_8.1.5.bb
index 0f394ed259..1aed038a54 100644
--- a/recipes/sysstat/sysstat_8.1.5.bb
+++ b/recipes/sysstat/sysstat_8.1.5.bb
@@ -1,15 +1,3 @@
-DESCRIPTION = "The sysstat utilities are a collection of performance monitoring tools for Linux."
-HOMEPAGE = "http://pagesperso-orange.fr/sebastien.godard/"
-LICENSE = "GPL"
-SECTION = "console/utils"
-
-SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz"
-
-inherit autotools
-
-do_configure_prepend() {
- sed -i s,'-g $(MAN_GROUP)','', Makefile.in
-}
-
-FILES_${PN} += "${libdir}/sa"
+require sysstat.inc
+PR = "${INC_PR}.0"
diff --git a/recipes/sysstat/sysstat_8.1.6.bb b/recipes/sysstat/sysstat_8.1.6.bb
index 42dd5e2d75..8dce9efedd 100644
--- a/recipes/sysstat/sysstat_8.1.6.bb
+++ b/recipes/sysstat/sysstat_8.1.6.bb
@@ -1,22 +1,2 @@
-DESCRIPTION = "The sysstat utilities are a collection of performance monitoring tools for Linux."
-HOMEPAGE = "http://pagesperso-orange.fr/sebastien.godard/"
-LICENSE = "GPL"
-SECTION = "console/utils"
-PR = "r1"
-
-DEPENDS = "virtual/libintl"
-
-SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz"
-
-inherit autotools
-
-do_configure_prepend() {
- sed -i s,'-g $(MAN_GROUP)','', Makefile.in
-}
-
-FILES_${PN} += "${libdir}/sa"
-
-TARGET_CC_ARCH += "${LDFLAGS}"
-LDFLAGS_append_linux-uclibc = " -lintl"
-LDFLAGS_append_linux-uclibceabi = " -lintl"
-LDFLAGS_append_linux-uclibcspe = " -lintl"
+require sysstat.inc
+PR = "${INC_PR}.0"
diff --git a/recipes/sysstat/sysstat_9.0.6.bb b/recipes/sysstat/sysstat_9.0.6.bb
new file mode 100644
index 0000000000..8dce9efedd
--- /dev/null
+++ b/recipes/sysstat/sysstat_9.0.6.bb
@@ -0,0 +1,2 @@
+require sysstat.inc
+PR = "${INC_PR}.0"