summaryrefslogtreecommitdiff
path: root/recipes/sysstat
diff options
context:
space:
mode:
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"