summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-08 22:51:41 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-08 22:51:41 +0200
commit1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch)
treea21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-perl/recipes-perl
downloadmeta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-perl/recipes-perl')
-rw-r--r--meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb23
-rw-r--r--meta-perl/recipes-perl/libauthen/files/run-ptest16
-rw-r--r--meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb30
-rw-r--r--meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.24.bb36
-rw-r--r--meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.04.bb15
-rw-r--r--meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb24
-rwxr-xr-xmeta-perl/recipes-perl/libdb/libdbd-sqlite-perl/sqlite-perl-test.pl69
-rw-r--r--meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.40.bb39
-rw-r--r--meta-perl/recipes-perl/libdb/libdbi-perl_1.628.bb26
-rw-r--r--meta-perl/recipes-perl/libdigest/files/run-ptest16
-rw-r--r--meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb26
-rw-r--r--meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb25
-rw-r--r--meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.007.bb24
-rw-r--r--meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.07.bb38
-rw-r--r--meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.022.bb29
-rw-r--r--meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.010.bb25
-rw-r--r--meta-perl/recipes-perl/libio/files/run-ptest16
-rw-r--r--meta-perl/recipes-perl/libio/libio-socket-ssl-perl_1.997.bb45
-rw-r--r--meta-perl/recipes-perl/libmime/files/run-ptest16
-rw-r--r--meta-perl/recipes-perl/libmime/libmime-types-perl_2.04.bb26
-rw-r--r--meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.036.bb54
-rw-r--r--meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.1.bb39
-rw-r--r--meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.014.bb35
-rw-r--r--meta-perl/recipes-perl/libnet/files/run-ptest16
-rw-r--r--meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch49
-rw-r--r--meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb34
-rw-r--r--meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb47
-rw-r--r--meta-perl/recipes-perl/libtest/libtest-harness-perl_3.30.bb80
-rw-r--r--meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb27
-rw-r--r--meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb24
-rw-r--r--meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb25
-rw-r--r--meta-perl/recipes-perl/libxml/libxml-libxml-perl/disable-libxml2-check.patch79
-rw-r--r--meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch31
-rw-r--r--meta-perl/recipes-perl/libxml/libxml-libxml-perl/using-DOCB-conditional.patch91
-rw-r--r--meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0116.bb47
-rw-r--r--meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb25
36 files changed, 1267 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb b/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb
new file mode 100644
index 000000000..4155fade9
--- /dev/null
+++ b/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb
@@ -0,0 +1,23 @@
1SUMMARY = "Algorithm::Diff - Compute 'intelligent' differences between two \
2files/lists"
3DESCRIPTION = "This is a module for computing the difference between two files, \
4two strings, or any other two lists of things. It uses an intelligent \
5algorithm similar to (or identical to) the one used by the Unix `diff' \
6program. It is guaranteed to find the *smallest possible* set of \
7differences. \
8"
9SECTION = "libs"
10HOMEPAGE = "http://search.cpan.org/~nedkonz/Algorithm-Diff/"
11
12LICENSE = "Artistic-1.0 | GPL-1.0+"
13LIC_FILES_CHKSUM = "file://lib/Algorithm/Diff.pm;beginline=406;endline=409;md5=d393b8ad3b8994b9d0ae9299b8a8a1ee"
14
15SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEDKONZ/Algorithm-Diff-${PV}.tar.gz"
16SRC_URI[md5sum] = "457cd497a0411a88b47d3741eb176071"
17SRC_URI[sha256sum] = "aa848b75ad3ecc32d31e8651909551e851cceef74a32822c7a3cb35c259f5190"
18
19S = "${WORKDIR}/Algorithm-Diff-${PV}"
20
21inherit cpan
22
23BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libauthen/files/run-ptest b/meta-perl/recipes-perl/libauthen/files/run-ptest
new file mode 100644
index 000000000..c9f9ca94d
--- /dev/null
+++ b/meta-perl/recipes-perl/libauthen/files/run-ptest
@@ -0,0 +1,16 @@
1#!/bin/sh
2
3for case in `find t -type f -name '*.t'`; do
4 perl $case >$case.output 2>&1
5 ret=$?
6 cat $case.output
7 if [ $ret -ne 0 ]; then
8 echo "FAIL: ${case%.t}"
9 elif grep -i 'SKIP' $case.output; then
10 echo "SKIP: ${case%.t}"
11 else
12 echo "PASS: ${case%.t}"
13 fi
14
15 rm -f $case.output
16done
diff --git a/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb b/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb
new file mode 100644
index 000000000..361bdf157
--- /dev/null
+++ b/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb
@@ -0,0 +1,30 @@
1SUMMARY = "SASL Authentication framework for Perl"
2DESCRIPTION = "SASL is a generic mechanism for authentication used by several network \
3protocols. Authen::SASL provides an implementation framework that all \
4protocols should be able to share."
5HOMEPAGE = "http://search.cpan.org/dist/Authen-SASL/"
6SECTION = "libs"
7
8LICENSE = "Artistic-1.0|GPL-1.0+"
9LIC_FILES_CHKSUM = "file://lib/Authen/SASL/Perl.pm;beginline=1;endline=3;md5=17123315bbcda19f484c07227594a609"
10
11DEPENDS = "perl"
12RDEPENDS_${PN} = "libdigest-hmac-perl"
13
14SRC_URI = "http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-${PV}.tar.gz \
15 file://run-ptest \
16 "
17SRC_URI[md5sum] = "7c03a689d4c689e5a9e2f18a1c586b2f"
18SRC_URI[sha256sum] = "6614fa7518f094f853741b63c73f3627168c5d3aca89b1d02b1016dc32854e09"
19
20S = "${WORKDIR}/Authen-SASL-${PV}"
21
22inherit cpan ptest
23
24do_install_ptest () {
25 cp -r ${B}/t ${D}${PTEST_PATH}
26}
27
28PACKAGE_ARCH = "all"
29BBCLASSEXTEND = "native"
30
diff --git a/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.24.bb b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.24.bb
new file mode 100644
index 000000000..023748508
--- /dev/null
+++ b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.24.bb
@@ -0,0 +1,36 @@
1SUMMARY = "Capture::Tiny - Capture STDOUT and STDERR from Perl, XS or external programs."
2DESCRIPTION = "Capture::Tiny provies a simple, portable way to capture \
3almost anything sent to STDOUT or STDERR, regardless of whether it comes \
4from Perl, from XS code or from an external program. Optionally, output can \
5be teed so that it is captured while being passed through to the original \
6filehandles. Yes, it even works on Windows (usually). Stop guessing which of \
7a dozen capturing modules to use in any particular situation and just use \
8this one."
9SECTION = "libs"
10
11HOMEPAGE = "http://search.cpan.org/~dagolden/Capture-Tiny/"
12
13LICENSE = "Artistic-1.0 | GPL-1.0+"
14LIC_FILES_CHKSUM = "file://LICENSE;md5=37a4918a30ace24395020e5b8c03b83f"
15
16SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Capture-Tiny-${PV}.tar.gz"
17SRC_URI[md5sum] = "718e9d62c4a27a3207cf8506cb99d846"
18SRC_URI[sha256sum] = "9bcf6f8472f8ea50401536cb070ac0c7770837d155c4d6abe212759863aae065"
19
20S = "${WORKDIR}/Capture-Tiny-${PV}"
21
22inherit cpan
23
24RDEPENDS_${PN} = " perl-module-scalar-util \
25 perl-module-io-file \
26 perl-module-extutils-makemaker \
27 perl-module-file-spec \
28 perl-module-exporter \
29 perl-module-carp \
30 perl-module-test-more \
31 perl-module-file-temp \
32 perl-module-lib \
33 perl-module-build \
34"
35
36BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.04.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.04.bb
new file mode 100644
index 000000000..1f99be036
--- /dev/null
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.04.bb
@@ -0,0 +1,15 @@
1SUMMARY = "Crypt Openssl Random cpan module"
2SECTION = "libs"
3LICENSE = "Artistic-1.0 | GPL-1.0+"
4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"
6
7SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-${PV}.tar.gz "
8SRC_URI[md5sum] = "c56ac5dbdd46122eb9b8da59613b7b0a"
9SRC_URI[sha256sum] = "acf7eb81023cd1f40d8c60b893096d041513df2be2aefe145cc7ae1a3dcc78c7"
10
11S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}"
12
13DEPENDS += " openssl \
14"
15inherit cpan
diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb
new file mode 100644
index 000000000..f0c610f3a
--- /dev/null
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb
@@ -0,0 +1,24 @@
1SUMMARY = "Crypt Openssl RSA cpan module"
2SECTION = "libs"
3LICENSE = "Artistic-1.0 | GPL-1.0+"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"
5
6SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz "
7
8SRC_URI[md5sum] = "86217a5036fc63779c30420b5fd84129"
9SRC_URI[sha256sum] = "5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be"
10
11DEPENDS += "openssl"
12
13RDEPENDS_${PN}="libcrypt-openssl-random-perl"
14
15EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
16
17S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}"
18
19inherit cpan
20
21do_compile() {
22 export OTHERLDFLAGS='-Wl,-rpath'
23 cpan_do_compile
24}
diff --git a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl/sqlite-perl-test.pl b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl/sqlite-perl-test.pl
new file mode 100755
index 000000000..40f5916f5
--- /dev/null
+++ b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl/sqlite-perl-test.pl
@@ -0,0 +1,69 @@
1#! /usr/bin/env perl
2#
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program; if not, write to the Free Software Foundation.
15#
16# Copyright (C) 2013 Wind River Systems, Inc.
17#
18# - It tests DBI and DBD::SQLite could work correctly which means one could
19# manipulate sqlite database in perl
20# - The test includes create/insert/update/delete/select, the five important
21# things one can do with a table
22use DBI;
23
24sub execute_sql {
25 my $dbh = $_[0];
26 my $sql = $_[1];
27 my $sth = $dbh->prepare($sql)
28 or die "Couldn't prepare statement: " . $dbh->errstr;
29 $sth->execute();
30 print "$sql\n";
31 return $sth;
32}
33
34sub select_all {
35 my $dbh = $_[0];
36 my $table = $_[1];
37 my $sth = &execute_sql($dbh, "Select * from $table");
38
39 print "-----------------------------------\n";
40 while (@data = $sth->fetchrow_array()) {
41 my $name = $data[0];
42 my $id = $data[1];
43 print "$name: $id\n";
44 }
45 print "\n";
46
47 $sth->finish;
48 return $sth;
49}
50
51# A private, temporary in-memory database is created for the connection.
52# This in-memory database will vanish when the database connection is
53# closed. It is handy for your library tests.
54my $dbfile = ":memory:";
55my $dbh = DBI->connect("DBI:SQLite:dbname=$dbfile","","")
56 or die "Couldn't connect to database: " . DBI->errstr;
57print "Connect to SQLite's in-memory database\n";
58
59&execute_sql($dbh, "Create table tbl1(name varchar(10), id smallint)");
60&execute_sql($dbh, "Insert into tbl1 values('yocto',10)");
61&execute_sql($dbh, "Insert into tbl1 values('windriver', 20)");
62&select_all($dbh, "tbl1");
63
64&execute_sql($dbh, "Update tbl1 set name = 'oe-core' where id = 10");
65&execute_sql($dbh, "Delete from tbl1 where id = 20");
66&select_all($dbh, "tbl1");
67
68$dbh->disconnect;
69print "Test Success\n"
diff --git a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.40.bb b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.40.bb
new file mode 100644
index 000000000..fad03d817
--- /dev/null
+++ b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.40.bb
@@ -0,0 +1,39 @@
1SUMMARY = "A Perl DBI driver for SQLite"
2DESCRIPTION = "DBD::SQLite is a Perl DBI driver for SQLite, that includes the entire \
3thing in the distribution. So in order to get a fast transaction capable \
4RDBMS working for your perl project you simply have to install this \
5module, and nothing else. \
6"
7HOMEPAGE = "http://search.cpan.org/~ishigaki/DBD-SQLite/"
8
9SECTION = "libs"
10LICENSE = "Artistic-1.0 | GPL-1.0+"
11DEPENDS += "libdbi-perl-native"
12RDEPENDS_${PN} += "libdbi-perl \
13 sqlite3 \
14 perl-module-constant \
15 perl-module-locale \
16 perl-module-tie-hash \
17"
18
19LIC_FILES_CHKSUM = "file://LICENSE;md5=1726e2117494ba3e13e1c3d93f795360"
20
21SRC_URI = "http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${PV}.tar.gz \
22 file://sqlite-perl-test.pl \
23"
24
25SRC_URI[md5sum] = "b9876882186499583428b14cf5c0e29c"
26SRC_URI[sha256sum] = "21fb65e740b6265512c82232b4ad8f75c19ac84c216830112656274eb8e375fb"
27
28S = "${WORKDIR}/DBD-SQLite-${PV}"
29
30inherit cpan
31
32BBCLASSEXTEND = "native"
33
34do_install_append() {
35 if [ ${PERL_DBM_TEST} = "1" ]; then
36 install -m 755 -D ${WORKDIR}/sqlite-perl-test.pl ${D}/${bindir}/sqlite-perl-test.pl
37 fi
38}
39
diff --git a/meta-perl/recipes-perl/libdb/libdbi-perl_1.628.bb b/meta-perl/recipes-perl/libdb/libdbi-perl_1.628.bb
new file mode 100644
index 000000000..38bdf614b
--- /dev/null
+++ b/meta-perl/recipes-perl/libdb/libdbi-perl_1.628.bb
@@ -0,0 +1,26 @@
1SUMMARY = "The Perl Database Interface"
2DESCRIPTION = "DBI is a database access Application Programming Interface \
3(API) for the Perl Language. The DBI API Specification defines a set \
4of functions, variables and conventions that provide a consistent \
5database interface independent of the actual database being used. \
6"
7HOMEPAGE = "http://search.cpan.org/dist/DBI/"
8SECTION = "libs"
9LICENSE = "Artistic-1.0 | GPL-1.0+"
10RDEPENDS_${PN} = " perl-module-carp \
11 perl-module-exporter \
12 perl-module-exporter-heavy \
13 perl-module-dynaloader \
14"
15
16LIC_FILES_CHKSUM = "file://DBI.pm;beginline=8147;endline=8151;md5=7d9e154a9ca3c093d2422f7c692d5861"
17
18SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz"
19SRC_URI[md5sum] = "4273f8cc6ee3979ce448c7eb3f8a6a5a"
20SRC_URI[sha256sum] = "46c834f4ba1b28c8d8a2db8095835a67fc69a9585761523aea3a74437a969b52"
21
22S = "${WORKDIR}/DBI-${PV}"
23
24inherit cpan
25
26BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libdigest/files/run-ptest b/meta-perl/recipes-perl/libdigest/files/run-ptest
new file mode 100644
index 000000000..c9f9ca94d
--- /dev/null
+++ b/meta-perl/recipes-perl/libdigest/files/run-ptest
@@ -0,0 +1,16 @@
1#!/bin/sh
2
3for case in `find t -type f -name '*.t'`; do
4 perl $case >$case.output 2>&1
5 ret=$?
6 cat $case.output
7 if [ $ret -ne 0 ]; then
8 echo "FAIL: ${case%.t}"
9 elif grep -i 'SKIP' $case.output; then
10 echo "SKIP: ${case%.t}"
11 else
12 echo "PASS: ${case%.t}"
13 fi
14
15 rm -f $case.output
16done
diff --git a/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb b/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb
new file mode 100644
index 000000000..affc9f668
--- /dev/null
+++ b/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb
@@ -0,0 +1,26 @@
1SUMMARY = "Keyed-Hashing for Message Authentication"
2DESCRIPTION = "Keyed-Hashing for Message Authentication"
3HOMEPAGE = "http://search.cpan.org/~gaas/Digest-HMAC-1.03/"
4SECTION = "libs"
5
6LICENSE = "Artistic-1.0|GPLv1+"
7LIC_FILES_CHKSUM = "file://README;beginline=13;endline=17;md5=da980cdc026faa065e5d5004115334e6"
8
9RDEPENDS_${PN} = "libdigest-sha1-perl perl-module-extutils-makemaker perl-module-digest-md5"
10
11SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-${PV}.tar.gz \
12 file://run-ptest \
13 "
14SRC_URI[md5sum] = "e6a5d6f552da16eacb5157ea4369ff9d"
15SRC_URI[sha256sum] = "3bc72c6d3ff144d73aefb90e9a78d33612d58cf1cd1631ecfb8985ba96da4a59"
16
17S = "${WORKDIR}/Digest-HMAC-${PV}"
18
19inherit cpan ptest
20
21do_install_ptest () {
22 cp -r ${B}/t ${D}${PTEST_PATH}
23}
24
25PACKAGE_ARCH = "all"
26BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb b/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb
new file mode 100644
index 000000000..0371ea68c
--- /dev/null
+++ b/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb
@@ -0,0 +1,25 @@
1SUMMARY = "Perl interface to the SHA-1 algorithm "
2DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm"
3HOMEPAGE = "http://search.cpan.org/~gaas/Digest-SHA1-2.13/"
4SECTION = "libs"
5
6LICENSE = "Artistic-1.0|GPLv1+"
7LIC_FILES_CHKSUM = "file://README;beginline=10;endline=14;md5=ff5867ebb4bc1103a7a416aef2fce00a"
8
9SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz \
10 file://run-ptest \
11 "
12SRC_URI[md5sum] = "bd22388f268434f2b24f64e28bf1aa35"
13SRC_URI[sha256sum] = "68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc"
14
15S = "${WORKDIR}/Digest-SHA1-${PV}"
16
17inherit cpan ptest
18
19do_install_ptest () {
20 cp -r ${B}/t ${D}${PTEST_PATH}
21}
22
23BBCLASSEXTEND="native"
24
25FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Digest/SHA1/.debug/"
diff --git a/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.007.bb b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.007.bb
new file mode 100644
index 000000000..78483b4e6
--- /dev/null
+++ b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.007.bb
@@ -0,0 +1,24 @@
1SUMMARY = "ExtUtils::Config - A wrapper for perl's configuration"
2DESCRIPTION = "ExtUtils::Config is an abstraction around the %Config hash."
3SECTION = "libs"
4
5HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Config/"
6
7LICENSE = "Artistic-1.0 | GPL-1.0+"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=b1b813683bd988732e7fd6a796bf7f47"
9
10SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-Config-${PV}.tar.gz"
11SRC_URI[md5sum] = "2829c0dfa8a7e51b3f582efbee4bb128"
12SRC_URI[sha256sum] = "2c1465078b876fd16a90507092805265528c2532d4937b03547a6dbdb8ac0eef"
13
14S = "${WORKDIR}/ExtUtils-Config-${PV}"
15
16inherit cpan
17
18RDEPENDS_${PN} = " perl-module-extutils-makemaker \
19 perl-module-data-dumper \
20 perl-module-test-more \
21 perl-module-file-temp \
22"
23
24BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.07.bb b/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.07.bb
new file mode 100644
index 000000000..47e090405
--- /dev/null
+++ b/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.07.bb
@@ -0,0 +1,38 @@
1SUMMARY = "ExtUtils::CppGuess - guess C++ compiler and flags"
2DESCRIPTION = "ExtUtils::CppGuess attempts to guess the system's C++ \
3compiler that is compatible with the C compiler that your perl was built \
4with. \
5It can generate the necessary options to the Module::Build constructor or \
6to ExtUtils::MakeMaker's WriteMakefile function."
7SECTION = "libs"
8
9HOMEPAGE = "http://search.cpan.org/~smueller/ExtUtils-CppGuess/"
10
11LICENSE = "Artistic-1.0 | GPL-1.0+"
12LIC_FILES_CHKSUM = "file://README;beginline=81;endline=84;md5=84c0390b90ea8c6702ce659b67bed699"
13
14SRC_URI = "${CPAN_MIRROR}/authors/id/S/SM/SMUELLER/ExtUtils-CppGuess-${PV}.tar.gz"
15SRC_URI[md5sum] = "350dd7c661189ea770d6c9354ebbc6c2"
16SRC_URI[sha256sum] = "1cd83ee8452351219b987c79ddb25cc25ee8c396318ba36c5211a92b5c87e7a8"
17
18S = "${WORKDIR}/ExtUtils-CppGuess-${PV}"
19
20inherit cpan_build
21
22do_install () {
23 cpan_build_do_install
24}
25
26RDEPENDS_${PN} = " libcapture-tiny-perl \
27 perl-module-scalar-util \
28 perl-module-io-file \
29 perl-module-extutils-makemaker \
30 perl-module-file-spec \
31 perl-module-exporter \
32 perl-module-carp \
33 perl-module-file-temp \
34 perl-module-lib \
35 perl-module-build \
36"
37
38BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.022.bb b/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.022.bb
new file mode 100644
index 000000000..9a0234e59
--- /dev/null
+++ b/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.022.bb
@@ -0,0 +1,29 @@
1SUMMARY = "ExtUtils::Helpers - Various portability utilities for module builders"
2DESCRIPTION = "This module provides various portable helper function for module building modules."
3SECTION = "libs"
4
5HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Helpers/"
6
7LICENSE = "Artistic-1.0 | GPL-1.0+"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=307057ce232899f5caa8858560c7274b"
9
10SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-Helpers-${PV}.tar.gz"
11SRC_URI[md5sum] = "cf4fd6f8caa6daac33b1111c9e93162b"
12SRC_URI[sha256sum] = "d3f8cf700fb3414ca1260089755cbf64041455e4b744110677b1ba5bb9a3aa95"
13
14S = "${WORKDIR}/ExtUtils-Helpers-${PV}"
15
16inherit cpan
17
18RDEPENDS_${PN} = " perl-module-file-copy \
19 perl-module-extutils-makemaker \
20 perl-module-exporter \
21 perl-module-carp \
22 perl-module-test-more \
23 perl-module-text-parsewords \
24 perl-module-load \
25 perl-module-file-temp \
26 perl-module-file-spec-functions \
27"
28
29BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.010.bb b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.010.bb
new file mode 100644
index 000000000..8de375d2e
--- /dev/null
+++ b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.010.bb
@@ -0,0 +1,25 @@
1SUMMARY = "ExtUtils::InstallPaths - Build.PL install path logic made easy"
2DESCRIPTION = "This module tries to make install path resolution as easy \
3as possible."
4SECTION = "libs"
5
6HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-InstallPaths/"
7
8LICENSE = "Artistic-1.0 | GPL-1.0+"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=15bbcc2806d297df9e944b8955b38d82"
10
11SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-${PV}.tar.gz"
12SRC_URI[md5sum] = "f0b00cc6c04653588a6298fa1f16c07f"
13SRC_URI[sha256sum] = "d14cbff118e467900c2c488b55b83ef697d6eb1b8f592c0521f1d82848bf2156"
14
15S = "${WORKDIR}/ExtUtils-InstallPaths-${PV}"
16
17inherit cpan
18
19RDEPENDS_${PN} = " perl-module-extutils-makemaker \
20 perl-module-data-dumper \
21 perl-module-test-more \
22 perl-module-file-temp \
23"
24
25BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libio/files/run-ptest b/meta-perl/recipes-perl/libio/files/run-ptest
new file mode 100644
index 000000000..c9f9ca94d
--- /dev/null
+++ b/meta-perl/recipes-perl/libio/files/run-ptest
@@ -0,0 +1,16 @@
1#!/bin/sh
2
3for case in `find t -type f -name '*.t'`; do
4 perl $case >$case.output 2>&1
5 ret=$?
6 cat $case.output
7 if [ $ret -ne 0 ]; then
8 echo "FAIL: ${case%.t}"
9 elif grep -i 'SKIP' $case.output; then
10 echo "SKIP: ${case%.t}"
11 else
12 echo "PASS: ${case%.t}"
13 fi
14
15 rm -f $case.output
16done
diff --git a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_1.997.bb b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_1.997.bb
new file mode 100644
index 000000000..19dec83a5
--- /dev/null
+++ b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_1.997.bb
@@ -0,0 +1,45 @@
1SUMMARY = "Perl library for transparent SSL"
2DESCRIPTION = "This module is a true drop-in replacement for IO::Socket::INET that \
3uses SSL to encrypt data before it is transferred to a remote server \
4or client. IO::Socket::SSL supports all the extra features that one \
5needs to write a full-featured SSL client or server application: \
6multiple SSL contexts, cipher selection, certificate verification, and \
7SSL version selection. As an extra bonus, it works perfectly with \
8mod_perl."
9HOMEPAGE = "http://search.cpan.org/dist/IO-Socket-SSL/"
10SECTION = "libs"
11
12LICENSE = "Artistic-1.0|GPLv1+"
13LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8"
14
15RDEPENDS_${PN} += "perl-module-scalar-util libnet-ssleay-perl"
16
17SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz \
18 file://run-ptest \
19 "
20SRC_URI[md5sum] = "2a6268bb42da81e69d1c1feb2fcb0eea"
21SRC_URI[sha256sum] = "acdb67b5b63aea5b7e70c3e4c70a16128810329592b63753a38c794aff76a1dd"
22
23S = "${WORKDIR}/IO-Socket-SSL-${PV}"
24
25inherit cpan ptest
26
27PACKAGE_ARCH = "all"
28
29do_install_append () {
30 mkdir -p ${D}${docdir}/${PN}/
31 cp ${S}/BUGS ${D}${docdir}/${PN}/
32 cp ${S}/Changes ${D}${docdir}/${PN}/
33 cp ${S}/README ${D}${docdir}/${PN}/
34 cp -pRP ${S}/docs ${D}${docdir}/${PN}/
35 cp -pRP ${S}/certs ${D}${docdir}/${PN}/
36 cp -pRP ${S}/example ${D}${docdir}/${PN}/
37 cp -pRP ${S}/util ${D}${docdir}/${PN}/
38}
39
40do_install_ptest () {
41 cp -r ${B}/t ${D}${PTEST_PATH}
42 cp -r ${B}/certs ${D}${PTEST_PATH}
43}
44
45BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libmime/files/run-ptest b/meta-perl/recipes-perl/libmime/files/run-ptest
new file mode 100644
index 000000000..c9f9ca94d
--- /dev/null
+++ b/meta-perl/recipes-perl/libmime/files/run-ptest
@@ -0,0 +1,16 @@
1#!/bin/sh
2
3for case in `find t -type f -name '*.t'`; do
4 perl $case >$case.output 2>&1
5 ret=$?
6 cat $case.output
7 if [ $ret -ne 0 ]; then
8 echo "FAIL: ${case%.t}"
9 elif grep -i 'SKIP' $case.output; then
10 echo "SKIP: ${case%.t}"
11 else
12 echo "PASS: ${case%.t}"
13 fi
14
15 rm -f $case.output
16done
diff --git a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.04.bb b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.04.bb
new file mode 100644
index 000000000..ef5302922
--- /dev/null
+++ b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.04.bb
@@ -0,0 +1,26 @@
1SUMMARY = "MIME::Types - Definition of MIME types"
2DESCRIPTION = "MIME types are used in MIME compliant lines, for instance \
3as part of e-mail and HTTP traffic, to indicate the type of content which \
4is transmitted. Sometimes real knowledge about a mime-type is need.\
5\n\
6This module maintains a set of MIME::Type objects, which each describe \
7one known mime type."
8HOMEPAGE = "http://search.cpan.org/~markov/MIME-Types-${PV}"
9SECTION = "libraries"
10
11LICENSE = "Artistic-1.0|GPLv1+"
12LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8"
13
14SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \
15 file://run-ptest \
16 "
17SRC_URI[md5sum] = "e292bbf7756bb4999407f3f660697168"
18SRC_URI[sha256sum] = "22b6069d372d587b1f2ecc6d0aaf50fb5c64920caed8c214b9884e64538acc8f"
19
20S = "${WORKDIR}/MIME-Types-${PV}"
21
22inherit cpan ptest
23
24do_install_ptest () {
25 cp -r ${B}/t ${D}${PTEST_PATH}
26}
diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.036.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.036.bb
new file mode 100644
index 000000000..761f17cc3
--- /dev/null
+++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.036.bb
@@ -0,0 +1,54 @@
1SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build"
2DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \
3Makefile.PL file to drive distribution configuration, build, test and \
4installation. Traditionally, Build.PL uses Module::Build as the underlying \
5build system. This module provides a simple, lightweight, drop-in replacement. \
6Whereas Module::Build has over 6,700 lines of code; this module has less than \
7120, yet supports the features needed by most distributions."
8SECTION = "libs"
9
10HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/"
11
12LICENSE = "Artistic-1.0 | GPL-1.0+"
13LIC_FILES_CHKSUM = "file://LICENSE;md5=aaca61412962cf972aec0cdad99d0a84"
14
15DEPENDS = "libextutils-config-perl-native libextutils-helpers-perl-native libextutils-installpaths-perl-native"
16
17SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz"
18SRC_URI[md5sum] = "bfc92c655158ce623f0ced94f4ef02e5"
19SRC_URI[sha256sum] = "d6706bf35e080e5af20cccf4fd565cc8af9c2a1e2e2075cee0a7de42cf0d6df9"
20
21S = "${WORKDIR}/Module-Build-Tiny-${PV}"
22
23inherit cpan_build
24
25do_install () {
26 cpan_build_do_install
27}
28
29RDEPENDS_${PN} = " libextutils-config-perl \
30 libextutils-helpers-perl \
31 libextutils-installpaths-perl \
32 perl-module-xsloader \
33 perl-module-file-spec \
34 perl-module-io-handle \
35 perl-module-tap-harness-env \
36 perl-module-ipc-open3 \
37 perl-module-file-path \
38 perl-module-cpan \
39 perl-module-extutils-cbuilder \
40 perl-module-getopt-long \
41 perl-module-extutils-makemaker \
42 perl-module-exporter \
43 perl-module-carp \
44 perl-module-test-more \
45 perl-module-text-parsewords \
46 perl-module-load \
47 perl-module-file-temp \
48 perl-module-data-dumper \
49 perl-module-extutils-parsexs \
50 perl-module-pod-man \
51 perl-module-json-pp \
52"
53
54BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.1.bb b/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.1.bb
new file mode 100644
index 000000000..b91691807
--- /dev/null
+++ b/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.1.bb
@@ -0,0 +1,39 @@
1SUMMARY = "Automatically give your module the ability to have plugins"
2DESCRIPTION = "Provides a simple but, hopefully, extensible way of \
3having 'plugins' for your module. Obviously this isn't going to be the \
4be all and end all of solutions but it works for me.\
5\
6Essentially all it does is export a method into your namespace that \
7looks through a search path for .pm files and turn those into class \
8names.\
9\
10Optionally it instantiates those classes for you."
11SECTION = "libs"
12
13AUTHOR = "Simon Wistow <simon@thegestalt.org>"
14HOMEPAGE = "https://github.com/simonwistow/Module-Pluggable"
15
16LICENSE = "Artistic-1.0 | GPL-1.0+"
17LIC_FILES_CHKSUM = "file://README;beginline=322;endline=325;md5=086450ce010f6fda25db0b38fcc41086"
18
19SRCNAME = "Module-Pluggable"
20SRC_URI = "${CPAN_MIRROR}/authors/id/S/SI/SIMONW/${SRCNAME}-${PV}.tar.gz"
21SRC_URI[md5sum] = "1b71ed7a67ad8c048d1499540bc892ba"
22SRC_URI[sha256sum] = "e2dc354043bb16f1f3df8c4bb26070b26e594819f218cf8b8ac19e79c720916f"
23
24S = "${WORKDIR}/${SRCNAME}-${PV}"
25
26inherit cpan_build
27
28RDEPENDS_${PN} = " perl-module-base \
29 perl-module-deprecate \
30 perl-module-file-basename \
31 perl-module-file-find \
32 perl-module-file-spec \
33 perl-module-file-spec-functions \
34 perl-module-if \
35 perl-module-test-more \
36"
37
38BBCLASSEXTEND = "native"
39
diff --git a/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.014.bb b/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.014.bb
new file mode 100644
index 000000000..d68ae2a88
--- /dev/null
+++ b/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.014.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Module::Runtime - runtime module handling"
2DESCRIPTION = "The functions exported by this module deal with runtime \
3handling of Perl modules, which are normally handled at compile time. This \
4module avoids using any other modules, so that it can be used in low-level \
5infrastructure. \
6The parts of this module that work with module names apply the same syntax \
7that is used for barewords in Perl source. In principle this syntax can vary \
8between versions of Perl, and this module applies the syntax of the Perl on \
9which it is running. In practice the usable syntax hasn't changed yet, but \
10there's a good chance of it changing in Perl 5.18. \
11The functions of this module whose purpose is to load modules include \
12workarounds for three old Perl core bugs regarding require. These workarounds \
13are applied on any Perl version where the bugs exist, except for a case where \
14one of the bugs cannot be adequately worked around in pure Perl."
15SECTION = "libs"
16
17HOMEPAGE = "http://search.cpan.org/~zefram/Module-Runtime/"
18
19LICENSE = "Artistic-1.0 | GPL-1.0+"
20LIC_FILES_CHKSUM = "file://README;beginline=43;endline=44;md5=62e24a93342fede7221d66335c716f34"
21
22SRC_URI = "${CPAN_MIRROR}/authors/id/Z/ZE/ZEFRAM/Module-Runtime-${PV}.tar.gz"
23SRC_URI[md5sum] = "a6597bc25536a30476f0d75b64d35734"
24SRC_URI[sha256sum] = "4c44fe0ea255a9fd00741ee545063f6692d2a28e7ef2fbaad1b24a92803362a4"
25
26S = "${WORKDIR}/Module-Runtime-${PV}"
27
28inherit cpan_build
29
30RDEPENDS_${PN} = " perl-module-test-more \
31 perl-module-strict \
32 perl-module-build \
33"
34
35BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libnet/files/run-ptest b/meta-perl/recipes-perl/libnet/files/run-ptest
new file mode 100644
index 000000000..c9f9ca94d
--- /dev/null
+++ b/meta-perl/recipes-perl/libnet/files/run-ptest
@@ -0,0 +1,16 @@
1#!/bin/sh
2
3for case in `find t -type f -name '*.t'`; do
4 perl $case >$case.output 2>&1
5 ret=$?
6 cat $case.output
7 if [ $ret -ne 0 ]; then
8 echo "FAIL: ${case%.t}"
9 elif grep -i 'SKIP' $case.output; then
10 echo "SKIP: ${case%.t}"
11 else
12 echo "PASS: ${case%.t}"
13 fi
14
15 rm -f $case.output
16done
diff --git a/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch b/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch
new file mode 100644
index 000000000..679caa36a
--- /dev/null
+++ b/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch
@@ -0,0 +1,49 @@
1perl-Net-LibIDN: cross-compile
2
3Upstream-Status: Pending
4
5Add support for cross-compile allowing the compiler binary to be
6specified into the perl Makefile instead of using the default 'gcc'.
7
8Signed-off-by: Greg Moffatt <greg.moffatt@windriver.com>
9---
10
11--- perl-Net-LibIDN-0.12.orig/Makefile.PL 2009-02-26 07:09:45.000000000 -0500
12+++ perl-Net-LibIDN-0.12/Makefile.PL 2010-10-19 09:34:22.811173965 -0400
13@@ -9,6 +9,7 @@
14 my $options;
15 my $testno=1;
16 my %MakeParams = InitMakeParams();
17+my $compiler;
18
19 WriteMakefile(%MakeParams);
20
21@@ -44,7 +45,8 @@
22 (
23 "with-libidn=s" => \$libdir,
24 "with-libidn-inc=s" => \$incdir,
25- "disable-tld" => \$disable_tld
26+ "disable-tld" => \$disable_tld,
27+ "compiler=s" => \$compiler
28 );
29
30 if ($libdir)
31@@ -165,12 +167,17 @@
32 return 0;
33 }
34
35- foreach my $cc (qw/cc gcc/)
36+ foreach my $cc ($compiler, qw/cc gcc/)
37 {
38 unlink($test);
39 system "$cc $cflags -o $test $test.c $ldflags";
40 next if ($? >> 8);
41
42+ if ($compiler == $cc)
43+ {
44+ return 1;
45+ }
46+
47 if (open(FILE, "./$test|"))
48 {
49 my $match;
diff --git a/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb b/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb
new file mode 100644
index 000000000..fd3ff8d95
--- /dev/null
+++ b/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb
@@ -0,0 +1,34 @@
1SUMMARY = "Net::LibIDN - Perl bindings for GNU Libidn"
2DESCRIPTION = "\
3Provides bindings for GNU Libidn, a C library for handling Internationalized \
4Domain Names according to IDNA (RFC 3490), in a way very much inspired by \
5Turbo Fredriksson's PHP-IDN. \
6"
7SECTION = "libs"
8LICENSE = "Artistic-1.0 | GPLv1+"
9HOMEPAGE = "http://search.cpan.org/dist/Net-LibIDN/"
10DEPENDS += "libidn"
11# We must need glibc-gconvs to enable charset related functions,
12# such as Net::LibIDN::idn_to_ascii().
13RDEPENDS_${PN} += "glibc-gconvs"
14
15SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-${PV}.tar.gz"
16SRC_URI[md5sum] = "c3e4de2065009d67bcb1df0afb473e12"
17SRC_URI[sha256sum] = "2f8acc9442b3866ec7dc63cd449fc693ae3e930d5d3e5e9430fbb6f393bdbb17"
18
19SRC_URI += "file://libidn-wr-cross-compile.patch"
20
21LIC_FILES_CHKSUM = "file://README;beginline=42;endline=92;md5=3374ea0369ca3ead6047520477a43147"
22
23S = "${WORKDIR}/Net-LibIDN-${PV}"
24
25EXTRA_CPANFLAGS = "--with-libidn=${STAGING_LIBDIR} --with-libidn-inc=${STAGING_INCDIR} --compiler='${CC}'"
26EXTRA_CPANFLAGS += "--disable-tld"
27
28inherit cpan
29
30FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Net/LibIDN/.debug/"
31
32do_configure_prepend() {
33 rm -rf ${S}/.pc/
34}
diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb
new file mode 100644
index 000000000..f6c4b8b36
--- /dev/null
+++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb
@@ -0,0 +1,47 @@
1SUMMARY = "Net::SSLeay - Perl extension for using OpenSSL"
2DESCRIPTION = "This module offers some high level convenience functions for accessing \
3web pages on SSL servers (for symmetry, same API is offered for \
4accessing http servers, too), a sslcat() function for writing your own \
5clients, and finally access to the SSL api of SSLeay/OpenSSL package \
6so you can write servers or clients for more complicated applications."
7HOMEPAGE = "http://search.cpan.org/dist/Net-SSLeay/"
8SECTION = "libs"
9
10LICENSE = "OpenSSL"
11LIC_FILES_CHKSUM = "file://README;beginline=274;endline=294;md5=49f415984b387be999ee2ad0e5c692fe"
12
13DEPENDS = "openssl zlib"
14RDEPENDS_${PN} += "perl-module-carp \
15 perl-module-errno \
16 perl-module-extutils-makemaker \
17 perl-module-mime-base64 \
18 perl-module-socket \
19 "
20
21SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-${PV}.tar.gz \
22 file://run-ptest \
23 "
24SRC_URI[md5sum] = "19600c036e9e0bbfbf9157f083e40755"
25SRC_URI[sha256sum] = "2fb1371120b85f018944d95736c107163f04ba56b6029c0709a2c3d6247b9c06"
26
27S = "${WORKDIR}/Net-SSLeay-${PV}"
28
29inherit cpan ptest
30
31EXTRA_CPANFLAGS = "LIBS='-L=${STAGING_LIBDIR} -L=${STAGING_BASELIBDIR}' \
32 INC=-I=${STAGING_INCDIR} \
33 'EXTRALIBS=-lssl -lcrypto -lz' \
34 'LDLOADLIBS=-lssl -lcrypto -lz' \
35 "
36
37do_configure_prepend() {
38 export OPENSSL_PREFIX=${STAGING_DIR_NATIVE}${prefix_native}
39}
40
41do_install_ptest() {
42 cp -r ${B}/t ${D}${PTEST_PATH}
43}
44
45BBCLASSEXTEND = "native"
46
47FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Net/SSLeay/.debug/"
diff --git a/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.30.bb b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.30.bb
new file mode 100644
index 000000000..c3d9674bf
--- /dev/null
+++ b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.30.bb
@@ -0,0 +1,80 @@
1SUMMARY = "Test::Harness - Run Perl standard test scripts with statistics"
2DESCRIPTION = "Although, for historical reasons, the Test::Harness \
3distribution takes its name from this module it now exists only to provide \
4TAP::Harness with an interface that is somewhat backwards compatible \
5with Test::Harness 2.xx. If you're writing new code consider using \
6TAP::Harness directly instead. \
7\
8Emulation is provided for runtests and execute_tests but the \
9pluggable 'Straps' interface that previous versions of Test::Harness \
10supported is not reproduced here. Straps is now available as a stand \
11alone module: Test::Harness::Straps. \
12\
13See TAP::Parser, TAP::Harness for the main documentation for this \
14distribution."
15
16SECTION = "libs"
17
18HOMEPAGE = "http://testanything.org"
19
20LICENSE = "Artistic-1.0 | GPL-1.0+"
21LIC_FILES_CHKSUM = "file://README;beginline=29;endline=30;md5=b08db4360eec119e875dddd7cb8a5ddd"
22
23SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Test-Harness-${PV}.tar.gz"
24SRC_URI[md5sum] = "c1ff25da5dfdf77adea13dc3465638dd"
25SRC_URI[sha256sum] = "ff1900f3b3e61321d3c4b3283298f3106d43d55446605e9cfcf1dcec036acec1"
26
27S = "${WORKDIR}/Test-Harness-${PV}"
28
29inherit cpan
30
31RPROVIDES_${PN} += "libapp-prove-perl \
32 libapp-prove-state-perl \
33 libapp-prove-state-result-perl \
34 libapp-prove-state-result-test-perl \
35 libtap-base-perl \
36 libtap-formatter-base-perl \
37 libtap-formatter-color-perl \
38 libtap-formatter-console-perl \
39 libtap-formatter-console-parallelsession-perl \
40 libtap-formatter-console-session-perl \
41 libtap-formatter-file-perl \
42 libtap-formatter-file-session-perl \
43 libtap-formatter-session-perl \
44 libtap-harness-perl \
45 libtap-harness-env-perl \
46 libtap-object-perl \
47 libtap-parser-perl \
48 libtap-parser-aggregator-perl \
49 libtap-parser-grammar-perl \
50 libtap-parser-iterator-perl \
51 libtap-parser-iterator-array-perl \
52 libtap-parser-iterator-process-perl \
53 libtap-parser-iterator-stream-perl \
54 libtap-parser-iteratorfactory-perl \
55 libtap-parser-multiplexer-perl \
56 libtap-parser-result-perl \
57 libtap-parsser-result-bailout-perl \
58 libtap-parser-result-comment-perl \
59 libtap-parser-result-plan-perl \
60 libtap-parser-result-pragma-perl \
61 libtap-parser-result-test-perl \
62 libtap-parser-result-unknown-perl \
63 libtap-parser-result-version-perl \
64 libtap-parser-result-yaml-perl \
65 libtap-parser-resultfactory-perl \
66 libtap-parser-scheduler-perl \
67 libtap-parser-scheduler-job-perl \
68 libtap-parser-scheduler-spinner-perl \
69 libtap-parser-source-perl \
70 libtap-parser-sourcehandler-perl \
71 libtap-parser-sourcehandler-executable-perl \
72 libtap-parser-sourcehandler-file-perl \
73 libtap-parser-sourcehandler-handle-perl \
74 libtap-parser-sourcehandler-perl-perl \
75 libtap-parser-sourcehandler-rawtap-perl \
76 libtap-parser-yamlish-reader-perl \
77 libtap-parser-yamlish-writer-perl \
78 "
79
80BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb b/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb
new file mode 100644
index 000000000..a4c246e34
--- /dev/null
+++ b/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb
@@ -0,0 +1,27 @@
1SUMMARY = "Text::Diff - Perform diffs on files and record sets"
2DESCRIPTION = "diff() provides a basic set of services akin to the GNU diff \
3utility. It is not anywhere near as feature complete as GNU diff, but it is \
4better integrated with Perl and available on all platforms. It is often \
5faster than shelling out to a system's diff executable for small files, \
6and generally slower on larger files."
7SECTION = "libs"
8
9HOMEPAGE = "http://search.cpan.org/~ovid/Text-Diff/"
10
11LICENSE = "Artistic-1.0 | GPL-2.0+"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"
13
14SRC_URI = "${CPAN_MIRROR}/authors/id/O/OV/OVID/Text-Diff-${PV}.tar.gz"
15SRC_URI[md5sum] = "30d56e6dd5551ca16b8e16cc7299dc21"
16SRC_URI[sha256sum] = "a67f50a48e313c1680cc662109ce5f913ea71454db355d0cf4db87ac89d2d2fa"
17
18S = "${WORKDIR}/Text-Diff-${PV}"
19
20inherit cpan
21
22RDEPENDS_${PN} = " libalgorithm-diff-perl \
23 perl-module-extutils-makemaker \
24 perl-module-exporter \
25"
26
27BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb b/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb
new file mode 100644
index 000000000..934be0399
--- /dev/null
+++ b/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb
@@ -0,0 +1,24 @@
1SUMMARY = "Perl interface to iconv() codeset conversion function"
2DESCRIPTION = "\
3The Text::Iconv module provides a Perl interface to the iconv() \
4function as defined by the Single UNIX Specification. The convert() \
5method converts the encoding of characters in the input string from \
6the fromcode codeset to the tocode codeset, and returns the result. \
7Settings of fromcode and tocode and their permitted combinations are \
8implementation-dependent. Valid values are specified in the system \
9documentation."
10SECTION = "libs"
11LICENSE = "Artistic-1.0 | GPL-1.0+"
12LIC_FILES_CHKSUM = "file://README;beginline=3;endline=6;md5=fadf2919c7128e887d26b4d905f90649"
13RRECOMMENDS_${PN} += "glibc-gconvs"
14
15SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MP/MPIOTR/Text-Iconv-${PV}.tar.gz"
16
17SRC_URI[md5sum] = "81b26e069eaebb084e91ea3c009b67ae"
18SRC_URI[sha256sum] = "5b80b7d5e709d34393bcba88971864a17b44a5bf0f9e4bcee383d029e7d2d5c3"
19
20S = "${WORKDIR}/Text-Iconv-${PV}"
21
22inherit cpan
23
24FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Text/Iconv/.debug/"
diff --git a/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb b/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb
new file mode 100644
index 000000000..77dd616bf
--- /dev/null
+++ b/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb
@@ -0,0 +1,25 @@
1SUMMARY = "XML::Filter::BufferText - Filter to put all characters() in one event"
2DESCRIPTION = "\
3The XML::Filter::BufferText module is a very simple filter. One common \
4cause of grief (and programmer error) is that XML parsers aren't required \
5to provide character events in one chunk. They can, but are not forced \
6to, and most don't. This filter does the trivial but oft-repeated task \
7of putting all characters into a single event. \
8"
9SECTION = "libs"
10LICENSE = "Artistic-1.0 | GPLv1+"
11HOMEPAGE = "http://search.cpan.org/dist/XML-Filter-BufferText/"
12DEPENDS += "libxml-sax-perl-native"
13RDEPENDS_${PN} += "libxml-sax-perl"
14
15SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RB/RBERJON/XML-Filter-BufferText-${PV}.tar.gz"
16SRC_URI[md5sum] = "2992c0387632583b966ab9c965b25512"
17SRC_URI[sha256sum] = "8fd2126d3beec554df852919f4739e689202cbba6a17506e9b66ea165841a75c"
18
19LIC_FILES_CHKSUM = "file://BufferText.pm;beginline=88;endline=90;md5=497aa6d79cc84c3d769a2a0016bee928"
20
21S = "${WORKDIR}/XML-Filter-BufferText-${PV}"
22
23inherit cpan
24
25BBCLASSEXTEND = "native"
diff --git a/meta-perl/recipes-perl/libxml/libxml-libxml-perl/disable-libxml2-check.patch b/meta-perl/recipes-perl/libxml/libxml-libxml-perl/disable-libxml2-check.patch
new file mode 100644
index 000000000..a8e7cc1bb
--- /dev/null
+++ b/meta-perl/recipes-perl/libxml/libxml-libxml-perl/disable-libxml2-check.patch
@@ -0,0 +1,79 @@
1Do not use the _libxml_check_lib() on cross-compile
2
3Upstream-Status: Inappropriate [configuration]
4
5xml2 have been added into package's DEPENDS, so not need to use the
6_libxml_check_lib() to check it again, and _libxml_check_lib() always
7return false on cross-compile environment
8
9Signed-off-by: Roy Li <rongqing.li@windriver.com>
10---
11 Makefile.PL | 52 ++++++++++++++++++++++++++--------------------------
12 1 file changed, 26 insertions(+), 26 deletions(-)
13
14diff --git a/Makefile.PL b/Makefile.PL
15index c0485f1..09c676b 100644
16--- a/Makefile.PL
17+++ b/Makefile.PL
18@@ -411,32 +411,32 @@ sub _libxml_check_lib {
19 }
20 }
21
22-print "Checking for ability to link against xml2...";
23-if ( _libxml_check_lib('xml2') ) {
24- print "yes\n";
25-}
26-else {
27- print "no\n";
28- print "Checking for ability to link against libxml2...";
29- if ( _libxml_check_lib('libxml2')) {
30- print "yes\n";
31- }
32- else {
33- print STDERR <<"DEATH";
34-libxml2, zlib, and/or the Math library (-lm) have not been found.
35-Try setting LIBS and INC values on the command line
36-Or get libxml2 from
37- http://xmlsoft.org/
38-If you install via RPMs, make sure you also install the -devel
39-RPMs, as this is where the headers (.h files) are.
40-
41-Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter
42-to see the exact reason why the detection of libxml2 installation
43-failed or why Makefile.PL was not able to compile a test program.
44-DEATH
45- exit 0; # 0 recommended by http://cpantest.grango.org (Notes for CPAN Authors)
46- }
47-}
48+#print "Checking for ability to link against xml2...";
49+#if ( _libxml_check_lib('xml2') ) {
50+# print "yes\n";
51+#}
52+#else {
53+# print "no\n";
54+# print "Checking for ability to link against libxml2...";
55+# if ( _libxml_check_lib('libxml2')) {
56+# print "yes\n";
57+# }
58+# else {
59+# print STDERR <<"DEATH";
60+#libxml2, zlib, and/or the Math library (-lm) have not been found.
61+#Try setting LIBS and INC values on the command line
62+#Or get libxml2 from
63+# http://xmlsoft.org/
64+#If you install via RPMs, make sure you also install the -devel
65+#RPMs, as this is where the headers (.h files) are.
66+#
67+#Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter
68+#to see the exact reason why the detection of libxml2 installation
69+#failed or why Makefile.PL was not able to compile a test program.
70+#DEATH
71+# exit 0; # 0 recommended by http://cpantest.grango.org (Notes for CPAN Authors)
72+# }
73+#}
74
75 # -------------------------------------------------------------------------- #
76 # _NOW_ write the Makefile
77--
781.7.10.4
79
diff --git a/meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch b/meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch
new file mode 100644
index 000000000..1dd9fb375
--- /dev/null
+++ b/meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch
@@ -0,0 +1,31 @@
1[PATCH] Fix a compile error
2
3Upstream-Status: Pending
4
5Fix a compile error by conditional using 'catal' since catal
6is only defined when LIBXML_CATALOG_ENABLED is enabled.
7
8Signed-off-by: Roy Li <rongqing.li@windriver.com>
9---
10 LibXML.xs | 2 ++
11 1 file changed, 2 insertions(+)
12
13diff --git a/LibXML.xs b/LibXML.xs
14index 66da04b..45da681 100644
15--- a/LibXML.xs
16+++ b/LibXML.xs
17@@ -2777,9 +2777,11 @@ _default_catalog( self, catalog )
18 xmlCatalogPtr catal = INT2PTR(xmlCatalogPtr,SvIV(SvRV(catalog)));
19 #endif
20 INIT:
21+#ifdef LIBXML_CATALOG_ENABLED
22 if ( catal == NULL ) {
23 croak( "empty catalog\n" );
24 }
25+#endif
26 CODE:
27 warn( "this feature is not implemented" );
28 RETVAL = 0;
29--
301.7.10.4
31
diff --git a/meta-perl/recipes-perl/libxml/libxml-libxml-perl/using-DOCB-conditional.patch b/meta-perl/recipes-perl/libxml/libxml-libxml-perl/using-DOCB-conditional.patch
new file mode 100644
index 000000000..d255ec753
--- /dev/null
+++ b/meta-perl/recipes-perl/libxml/libxml-libxml-perl/using-DOCB-conditional.patch
@@ -0,0 +1,91 @@
1[PATCH] Fix a compile error
2
3Upstream-Status: Pending
4
5by conditional using 'XML_DOCB_DOCUMENT_NODE' since it is only
6defined when LIBXML_DOCB_ENABLED is enabled in xmlversion.h.
7
8Signed-off-by: Roy Li <rongqing.li@windriver.com>
9---
10 LibXML.xs | 9 +-
11 dom.c | 2 +
12 perl-libxml-mm.c | 4 +
13 4 files changed, 678 insertions(+), 658 deletions(-)
14
15diff --git a/LibXML.xs b/LibXML.xs
16index b299ba4..66da04b 100644
17--- a/LibXML.xs
18+++ b/LibXML.xs
19@@ -5026,7 +5026,9 @@ addChild( self, nNode )
20 XSRETURN_UNDEF;
21 case XML_DOCUMENT_NODE :
22 case XML_HTML_DOCUMENT_NODE :
23+#ifdef LIBXML_DOCB_ENABLED
24 case XML_DOCB_DOCUMENT_NODE :
25+#endif
26 croak("addChild: HIERARCHY_REQUEST_ERR\n");
27 XSRETURN_UNDEF;
28 case XML_NOTATION_NODE :
29@@ -5286,7 +5288,9 @@ _toStringC14N(self, comments=0, xpath=&PL_sv_undef, exclusive=0, inc_prefix_list
30 if ( nodepath == NULL
31 && self->type != XML_DOCUMENT_NODE
32 && self->type != XML_HTML_DOCUMENT_NODE
33+#ifdef LIBXML_DOCB_ENABLED
34 && self->type != XML_DOCB_DOCUMENT_NODE
35+#endif
36 ) {
37 if (comments)
38 nodepath = xmlStrdup( (const xmlChar *) "(. | .//node() | .//@* | .//namespace::*)" );
39@@ -5297,7 +5301,10 @@ _toStringC14N(self, comments=0, xpath=&PL_sv_undef, exclusive=0, inc_prefix_list
40 if ( nodepath != NULL ) {
41 if ( self->type == XML_DOCUMENT_NODE
42 || self->type == XML_HTML_DOCUMENT_NODE
43- || self->type == XML_DOCB_DOCUMENT_NODE ) {
44+#ifdef LIBXML_DOCB_ENABLED
45+ || self->type == XML_DOCB_DOCUMENT_NODE
46+#endif
47+ ) {
48 refNode = xmlDocGetRootElement( self->doc );
49 }
50 if (SvOK(xpath_context)) {
51diff --git a/dom.c b/dom.c
52index 87eb61d..cbd391b 100644
53--- a/dom.c
54+++ b/dom.c
55@@ -654,7 +654,9 @@ domName(xmlNodePtr node) {
56
57 case XML_DOCUMENT_NODE :
58 case XML_HTML_DOCUMENT_NODE :
59+#ifdef LIBXML_DOCB_ENABLED
60 case XML_DOCB_DOCUMENT_NODE :
61+#endif
62 name = (const xmlChar *) "#document";
63 break;
64
65diff --git a/perl-libxml-mm.c b/perl-libxml-mm.c
66index d162b06..7ac5436 100644
67--- a/perl-libxml-mm.c
68+++ b/perl-libxml-mm.c
69@@ -331,7 +331,9 @@ PmmNewNode(xmlNodePtr node)
70 switch ( node->type ) {
71 case XML_DOCUMENT_NODE:
72 case XML_HTML_DOCUMENT_NODE:
73+#ifdef LIBXML_DOCB_ENABLED
74 case XML_DOCB_DOCUMENT_NODE:
75+#endif
76 proxy = (ProxyNodePtr)xmlMalloc(sizeof(struct _DocProxyNode));
77 if (proxy != NULL) {
78 ((DocProxyNodePtr)proxy)->psvi_status = Pmm_NO_PSVI;
79@@ -550,7 +552,9 @@ PmmNodeToSv( xmlNodePtr node, ProxyNodePtr owner )
80 switch ( node->type ) {
81 case XML_DOCUMENT_NODE:
82 case XML_HTML_DOCUMENT_NODE:
83+#ifdef LIBXML_DOCB_ENABLED
84 case XML_DOCB_DOCUMENT_NODE:
85+#endif
86 if ( ((xmlDocPtr)node)->encoding != NULL ) {
87 SetPmmENCODING(dfProxy, (int)xmlParseCharEncoding( (const char*)((xmlDocPtr)node)->encoding ));
88 }
89--
901.7.10.4
91
diff --git a/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0116.bb b/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0116.bb
new file mode 100644
index 000000000..2a6dbc280
--- /dev/null
+++ b/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0116.bb
@@ -0,0 +1,47 @@
1SUMMARY = "Perl interface to the libxml2 library"
2DESCRIPTION = "This module is an interface to libxml2, providing XML and HTML parsers \
3with DOM, SAX and XMLReader interfaces, a large subset of DOM Layer 3 \
4interface and a XML::XPath-like interface to XPath API of libxml2. \
5The module is split into several packages which are not described in this \
6section; unless stated otherwise, you only need to use XML::LibXML; in \
7your programs."
8
9HOMEPAGE = "http://search.cpan.org/dist/XML-LibXML-1.99/"
10SECTION = "libs"
11LICENSE = "Artistic-1.0|GPLv1+"
12DEPENDS += "libxml2 \
13 libxml-sax-perl-native \
14 zlib \
15"
16RDEPENDS_${PN} += "libxml2 \
17 libxml-sax-perl \
18 libxml-sax-base-perl \
19 zlib \
20"
21
22SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-${PV}.tar.gz;name=libxml \
23 file://disable-libxml2-check.patch \
24 file://fix-CATALOG-conditional-compile.patch \
25 file://using-DOCB-conditional.patch \
26"
27LIC_FILES_CHKSUM = "file://debian/copyright;md5=75e021e35a906347f46c9ff163653e2a \
28 file://LICENSE;md5=97871bde150daeb5e61ad95137ff2446"
29SRC_URI[libxml.md5sum] = "a53a743bf053a0cb4afb41513fb8a684"
30SRC_URI[libxml.sha256sum] = "b154f2dad3033b30d22ac81b8985b69ad35450b0c552db394cd03bb36845812a"
31
32S = "${WORKDIR}/XML-LibXML-${PV}"
33
34inherit cpan
35
36EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR}/libxml2 LIBS=-L${STAGING_LIBDIR}"
37
38BBCLASSEXTEND = "native"
39
40CFLAGS += " -D_GNU_SOURCE "
41BUILD_CFLAGS += " -D_GNU_SOURCE "
42
43do_configure_prepend() {
44 rm -rf ${S}/.pc/*
45}
46
47FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/XML/LibXML/.debug/"
diff --git a/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb b/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb
new file mode 100644
index 000000000..914c20801
--- /dev/null
+++ b/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.54.bb
@@ -0,0 +1,25 @@
1SUMMARY = "XML::SAX::Writer - SAX2 Writer"
2DESCRIPTION = "\
3XML::SAX::Writer helps to serialize SAX2 representations of XML documents to \
4strings, files, and other flat representations. It handles charset encodings, \
5XML escaping conventions, and so forth. It is still considered alpha, \
6although it has been put to limited use in settings such as XML::LibXML and \
7the AxKit XML Application Server. \
8"
9SECTION = "libs"
10LICENSE = "Artistic-1.0 | GPLv1+"
11HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/"
12DEPENDS += "libxml-filter-buffertext-perl-native"
13RDEPENDS_${PN} += "libxml-filter-buffertext-perl"
14
15SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz"
16SRC_URI[md5sum] = "383139d76418a82b9800dc4f8b568891"
17SRC_URI[sha256sum] = "a1b4d959aed8f8337523c4cef4b431e56e619c795dc6f99a868548952101cf3d"
18
19LIC_FILES_CHKSUM = "file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e"
20
21S = "${WORKDIR}/XML-SAX-Writer-${PV}"
22
23inherit cpan
24
25BBCLASSEXTEND = "native"