diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-11-30 18:29:59 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-03 16:38:35 +0000 |
commit | 5d8ddf43d22412dcaaee973b4556e9a969b6aae1 (patch) | |
tree | 792e04fd56bb24bfae213a92e66cd422b918d6fc /meta/recipes-extended | |
parent | 07d689aa876d3cceb2bbeaa08f6dc03f778611b7 (diff) | |
download | poky-5d8ddf43d22412dcaaee973b4556e9a969b6aae1.tar.gz |
libxml-sax-base-perl: add recipe for libxml-sax-perl
If libxml-sax-base-perl is not installed on the target, libxml-sax-perl
would be fail to use. So add the recipe.
# cat > test.pl <<-EOF
#!/usr/bin/perl
use XML::SAX;
EOF
# perl ./test.pl
Can't locate XML/SAX/Exception.pm in @INC ...
Also inherit allarch for three perl modules.
(From OE-Core rev: 3230d943699c77f3fe9ce9d9949eae21d825186d)
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
3 files changed, 29 insertions, 5 deletions
diff --git a/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.11.bb b/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.11.bb index cf89cb6952..928440377c 100644 --- a/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.11.bb +++ b/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.11.bb | |||
@@ -5,7 +5,7 @@ DESCRIPTION = "XML::NamespaceSupport offers a simple way to process namespace-ba | |||
5 | 5 | ||
6 | SECTION = "libs" | 6 | SECTION = "libs" |
7 | LICENSE = "Artistic-1.0 | GPL-1.0+" | 7 | LICENSE = "Artistic-1.0 | GPL-1.0+" |
8 | PR = "r2" | 8 | PR = "r3" |
9 | 9 | ||
10 | LIC_FILES_CHKSUM = "file://META.yml;beginline=22;endline=22;md5=3b2b564dae8b9af9e8896e85c07dcbe5" | 10 | LIC_FILES_CHKSUM = "file://META.yml;beginline=22;endline=22;md5=3b2b564dae8b9af9e8896e85c07dcbe5" |
11 | 11 | ||
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "6d8151f0a3f102313d76b64bfd1c2d9ed46bfe63a16f038e7d860fda28 | |||
16 | 16 | ||
17 | S = "${WORKDIR}/XML-NamespaceSupport-${PV}" | 17 | S = "${WORKDIR}/XML-NamespaceSupport-${PV}" |
18 | 18 | ||
19 | inherit cpan | 19 | inherit cpan allarch |
20 | 20 | ||
21 | BBCLASSEXTEND="native" | 21 | BBCLASSEXTEND="native" |
22 | 22 | ||
diff --git a/meta/recipes-extended/perl/libxml-sax-base-perl_1.08.bb b/meta/recipes-extended/perl/libxml-sax-base-perl_1.08.bb new file mode 100644 index 0000000000..d87c044119 --- /dev/null +++ b/meta/recipes-extended/perl/libxml-sax-base-perl_1.08.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "Base class SAX Drivers and Filters" | ||
2 | DESCRIPTION = "This module has a very simple task - to be a base class for \ | ||
3 | PerlSAX drivers and filters. It's default behaviour is to pass \ | ||
4 | the input directly to the output unchanged. It can be useful to \ | ||
5 | use this module as a base class so you don't have to, for example, \ | ||
6 | implement the characters() callback." | ||
7 | |||
8 | SECTION = "libs" | ||
9 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
10 | RDEPENDS += "perl-module-extutils-makemaker" | ||
11 | PR = "r0" | ||
12 | |||
13 | LIC_FILES_CHKSUM = "file://dist.ini;endline=5;md5=8f9c9a55340aefaee6e9704c88466446" | ||
14 | |||
15 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-SAX-Base-${PV}.tar.gz" | ||
16 | |||
17 | SRC_URI[md5sum] = "38c8c3247dfd080712596118d70dbe32" | ||
18 | SRC_URI[sha256sum] = "666270318b15f88b8427e585198abbc19bc2e6ccb36dc4c0a4f2d9807330219e" | ||
19 | |||
20 | S = "${WORKDIR}/XML-SAX-Base-${PV}" | ||
21 | |||
22 | inherit cpan allarch | ||
23 | |||
24 | BBCLASSEXTEND = "native" | ||
diff --git a/meta/recipes-extended/perl/libxml-sax-perl_0.99.bb b/meta/recipes-extended/perl/libxml-sax-perl_0.99.bb index 3a0873fe41..647cb77fa8 100644 --- a/meta/recipes-extended/perl/libxml-sax-perl_0.99.bb +++ b/meta/recipes-extended/perl/libxml-sax-perl_0.99.bb | |||
@@ -10,8 +10,8 @@ javaness." | |||
10 | SECTION = "libs" | 10 | SECTION = "libs" |
11 | LICENSE = "Artistic-1.0 | GPL-1.0+" | 11 | LICENSE = "Artistic-1.0 | GPL-1.0+" |
12 | DEPENDS += "libxml-namespacesupport-perl-native" | 12 | DEPENDS += "libxml-namespacesupport-perl-native" |
13 | RDEPENDS_${PN} += "libxml-namespacesupport-perl perl-module-file-temp" | 13 | RDEPENDS_${PN} += "libxml-namespacesupport-perl libxml-sax-base-perl perl-module-file-temp" |
14 | PR = "r1" | 14 | PR = "r2" |
15 | 15 | ||
16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=65c4cd8f39c24c7135ed70dacbcb09e3" | 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=65c4cd8f39c24c7135ed70dacbcb09e3" |
17 | 17 | ||
@@ -22,6 +22,6 @@ SRC_URI[sha256sum] = "32b04b8e36b6cc4cfc486de2d859d87af5386dd930f2383c49347050d6 | |||
22 | 22 | ||
23 | S = "${WORKDIR}/XML-SAX-${PV}" | 23 | S = "${WORKDIR}/XML-SAX-${PV}" |
24 | 24 | ||
25 | inherit cpan | 25 | inherit cpan allarch |
26 | 26 | ||
27 | BBCLASSEXTEND = "native" | 27 | BBCLASSEXTEND = "native" |