diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/rrdtool | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/rrdtool')
-rw-r--r-- | recipes/rrdtool/perl-make-options.diff | 12 | ||||
-rw-r--r-- | recipes/rrdtool/rrdtool_1.0.49.bb | 27 |
2 files changed, 39 insertions, 0 deletions
diff --git a/recipes/rrdtool/perl-make-options.diff b/recipes/rrdtool/perl-make-options.diff new file mode 100644 index 0000000000..5da332f709 --- /dev/null +++ b/recipes/rrdtool/perl-make-options.diff @@ -0,0 +1,12 @@ +--- perl-shared/Makefile.PL.in.o 2004-10-27 14:55:36.413765216 +0200 ++++ perl-shared/Makefile.PL.in 2004-10-27 14:56:50.447510376 +0200 +@@ -12,6 +12,9 @@ + 'DEFINE' => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}", + 'INC' => '-I@top_srcdir@ -I@top_srcdir@/src -I@top_srcdir@/gd1.3', + 'CCFLAGS' => "$Config{ccflags} -DHAVE_CONFIG_H", ++ 'CC' => '@CC@', ++ 'LD' => '@CC@', ++ 'LDFROM' => '@LDFLAGS@', + # where to look for the necessary libraries + # Perl will figure out which one is valid + 'depend' => {'RRDs.c' => "@top_srcdir@/src/.libs/librrd_private.a"}, diff --git a/recipes/rrdtool/rrdtool_1.0.49.bb b/recipes/rrdtool/rrdtool_1.0.49.bb new file mode 100644 index 0000000000..11968ea609 --- /dev/null +++ b/recipes/rrdtool/rrdtool_1.0.49.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "High performance data logging and graphing system for time series data." +HOMEPAGE = "http://oss.oetiker.ch/rrdtool/" +SECTION = "utils" +LICENSE = "GPLv2" +DEPENDS = "libpng zlib" +DEPENDS_rddtool-perl = "perl-module-lib perl-module-dynaloader" +PR = "r2" +SRC_URI = "http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.0.x/rdtool-${PV}.tar.gz \ + file://perl-make-options.diff;patch=1;pnum=0" + +inherit autotools + +EXTRA_OECONF = "--enable-shared --enable-local-libpng --enable-local-zlib --program-prefix=''" + +do_install_append() { + install -d ${D}${docdir}/rrdtool/ + mv ${D}/usr/html ${D}${docdir}/rrdtool/ + mv ${D}/usr/doc/* ${D}${docdir}/rrdtool/ + mv ${D}/usr/examples ${D}${docdir}/rrdtool/ + mv ${D}/usr/contrib ${D}${docdir}/rrdtool/ +} + +do_stage () { + autotools_stage_all +} + +FILES_${PN} += "${libdir}/perl" |