From 2610f65bd7d2902302be6650b9536aa43cc58656 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Sun, 10 Jan 2010 12:12:19 +0100 Subject: sysstat: refactor into .inc file, add 9.0.6 --- recipes/sysstat/sysstat.inc | 22 ++++++++++++++++++++++ recipes/sysstat/sysstat_8.1.5.bb | 16 ++-------------- recipes/sysstat/sysstat_8.1.6.bb | 24 ++---------------------- recipes/sysstat/sysstat_9.0.6.bb | 2 ++ 4 files changed, 28 insertions(+), 36 deletions(-) create mode 100644 recipes/sysstat/sysstat.inc create mode 100644 recipes/sysstat/sysstat_9.0.6.bb (limited to 'recipes/sysstat') 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" -- cgit v1.2.3