diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-perl | |
download | meta-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')
39 files changed, 1397 insertions, 0 deletions
diff --git a/meta-perl/COPYING.MIT b/meta-perl/COPYING.MIT new file mode 100644 index 000000000..89de35479 --- /dev/null +++ b/meta-perl/COPYING.MIT | |||
@@ -0,0 +1,17 @@ | |||
1 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
2 | of this software and associated documentation files (the "Software"), to deal | ||
3 | in the Software without restriction, including without limitation the rights | ||
4 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
5 | copies of the Software, and to permit persons to whom the Software is | ||
6 | furnished to do so, subject to the following conditions: | ||
7 | |||
8 | The above copyright notice and this permission notice shall be included in | ||
9 | all copies or substantial portions of the Software. | ||
10 | |||
11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
12 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
17 | THE SOFTWARE. | ||
diff --git a/meta-perl/README b/meta-perl/README new file mode 100644 index 000000000..24fa9dccc --- /dev/null +++ b/meta-perl/README | |||
@@ -0,0 +1,97 @@ | |||
1 | meta-perl | ||
2 | ========= | ||
3 | This layer provides commonly-used perl related recipes such as perl libraries | ||
4 | in the Comprehensive Perl Archive Network. | ||
5 | |||
6 | Contents and Help | ||
7 | ----------------- | ||
8 | |||
9 | In this section the contents of the layer is listed, along with a short | ||
10 | help for each package. | ||
11 | |||
12 | -- libdbi-perl -- | ||
13 | The DBI is a database access module for the Perl programming language. | ||
14 | It defines a set of methods, variables, and conventions that provide | ||
15 | a consistent database interface, independent of the actual database | ||
16 | being used. | ||
17 | |<- Scope of DBI ->| | ||
18 | .-. .--------------. .-------------. | ||
19 | .-------. | |---| XYZ Driver |---| XYZ Engine | | ||
20 | | Perl | | | `--------------' `-------------' | ||
21 | | script| |A| |D| .--------------. .-------------. | ||
22 | | using |--|P|--|B|---|Oracle Driver |---|Oracle Engine| | ||
23 | | DBI | |I| |I| `--------------' `-------------' | ||
24 | | API | | |... | ||
25 | |methods| | |... Other drivers | ||
26 | `-------' | |... | ||
27 | `-' | ||
28 | |||
29 | -- libdbd-sqlite-perl -- | ||
30 | DBD::SQLite is a Perl DBI driver for SQLite, that includes the entire | ||
31 | thing in the distribution. So in order to get a fast transaction capable | ||
32 | RDBMS working for your perl project you simply have to install this | ||
33 | module, and nothing else. | ||
34 | |||
35 | usage: there is a test case to show you how it works | ||
36 | |||
37 | 1) vim local.conf: | ||
38 | ... | ||
39 | IMAGE_INSTALL_append = " libdbd-sqlite-perl" | ||
40 | PERL_DBM_TEST = "1" | ||
41 | ... | ||
42 | 2) build core-image-sato and boot the target | ||
43 | |||
44 | 3) run "sqlite-perl-test.pl" on target. This script includes five | ||
45 | operations create/insert/update/delete/select to do with a table. | ||
46 | |||
47 | More information can be found in the recipe's git log. | ||
48 | |||
49 | Dependencies | ||
50 | ------------ | ||
51 | |||
52 | This layer depends on: | ||
53 | |||
54 | URI: git://git.openembedded.org/openembedded-core | ||
55 | branch: dizzy | ||
56 | revision: HEAD | ||
57 | prio: default | ||
58 | |||
59 | Adding the meta-perl layer to your build | ||
60 | --------------------------------------- | ||
61 | |||
62 | In order to use this layer, you need to make the build system aware of | ||
63 | it. | ||
64 | |||
65 | Assuming the meta-perl layer exists at the top-level of your | ||
66 | yocto build tree, you can add it to the build system by adding the | ||
67 | location of the meta-perl layer to bblayers.conf, along with any | ||
68 | other layers needed. e.g.: | ||
69 | |||
70 | BBLAYERS ?= " \ | ||
71 | /path/to/oe-core/meta \ | ||
72 | /path/to/layer/meta-perl \ | ||
73 | |||
74 | Maintenance | ||
75 | ----------- | ||
76 | |||
77 | Send patches / pull requests to openembedded-devel@lists.openembedded.org with | ||
78 | '[meta-perl][dizzy]' in the subject. | ||
79 | |||
80 | When sending single patches, please using something like: | ||
81 | 'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-perl][dizzy][PATCH' | ||
82 | |||
83 | Layer maintainer: Hongxu Jia <hongxu.jia@windriver.com> | ||
84 | |||
85 | Dizzy branch maintainers: | ||
86 | Otavio Salvador <otavio@ossystems.com.br> | ||
87 | Armin Kuster <akuster808@gmail.com> | ||
88 | |||
89 | Prefix email subject with: [dizzy] | ||
90 | |||
91 | License | ||
92 | ------- | ||
93 | |||
94 | All metadata is MIT licensed unless otherwise stated. Source code included | ||
95 | in tree for individual recipes is under the LICENSE stated in each recipe | ||
96 | (.bb file) unless otherwise stated. | ||
97 | |||
diff --git a/meta-perl/conf/layer.conf b/meta-perl/conf/layer.conf new file mode 100644 index 000000000..0485ac8df --- /dev/null +++ b/meta-perl/conf/layer.conf | |||
@@ -0,0 +1,16 @@ | |||
1 | # We have a conf and classes directory, add to BBPATH | ||
2 | BBPATH .= ":${LAYERDIR}" | ||
3 | |||
4 | # We have recipes-* directories, add to BBFILES | ||
5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
6 | ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
7 | |||
8 | BBFILE_COLLECTIONS += "perl-layer" | ||
9 | BBFILE_PATTERN_perl-layer := "^${LAYERDIR}/" | ||
10 | BBFILE_PRIORITY_perl-layer = "6" | ||
11 | |||
12 | # This should only be incremented on significant changes that will | ||
13 | # cause compatibility issues with other layers | ||
14 | LAYERVERSION_perl-layer = "1" | ||
15 | |||
16 | LAYERDEPENDS_perl-layer = "core" | ||
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 @@ | |||
1 | SUMMARY = "Algorithm::Diff - Compute 'intelligent' differences between two \ | ||
2 | files/lists" | ||
3 | DESCRIPTION = "This is a module for computing the difference between two files, \ | ||
4 | two strings, or any other two lists of things. It uses an intelligent \ | ||
5 | algorithm similar to (or identical to) the one used by the Unix `diff' \ | ||
6 | program. It is guaranteed to find the *smallest possible* set of \ | ||
7 | differences. \ | ||
8 | " | ||
9 | SECTION = "libs" | ||
10 | HOMEPAGE = "http://search.cpan.org/~nedkonz/Algorithm-Diff/" | ||
11 | |||
12 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
13 | LIC_FILES_CHKSUM = "file://lib/Algorithm/Diff.pm;beginline=406;endline=409;md5=d393b8ad3b8994b9d0ae9299b8a8a1ee" | ||
14 | |||
15 | SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEDKONZ/Algorithm-Diff-${PV}.tar.gz" | ||
16 | SRC_URI[md5sum] = "457cd497a0411a88b47d3741eb176071" | ||
17 | SRC_URI[sha256sum] = "aa848b75ad3ecc32d31e8651909551e851cceef74a32822c7a3cb35c259f5190" | ||
18 | |||
19 | S = "${WORKDIR}/Algorithm-Diff-${PV}" | ||
20 | |||
21 | inherit cpan | ||
22 | |||
23 | BBCLASSEXTEND = "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 | |||
3 | for 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 | ||
16 | done | ||
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 @@ | |||
1 | SUMMARY = "SASL Authentication framework for Perl" | ||
2 | DESCRIPTION = "SASL is a generic mechanism for authentication used by several network \ | ||
3 | protocols. Authen::SASL provides an implementation framework that all \ | ||
4 | protocols should be able to share." | ||
5 | HOMEPAGE = "http://search.cpan.org/dist/Authen-SASL/" | ||
6 | SECTION = "libs" | ||
7 | |||
8 | LICENSE = "Artistic-1.0|GPL-1.0+" | ||
9 | LIC_FILES_CHKSUM = "file://lib/Authen/SASL/Perl.pm;beginline=1;endline=3;md5=17123315bbcda19f484c07227594a609" | ||
10 | |||
11 | DEPENDS = "perl" | ||
12 | RDEPENDS_${PN} = "libdigest-hmac-perl" | ||
13 | |||
14 | SRC_URI = "http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-${PV}.tar.gz \ | ||
15 | file://run-ptest \ | ||
16 | " | ||
17 | SRC_URI[md5sum] = "7c03a689d4c689e5a9e2f18a1c586b2f" | ||
18 | SRC_URI[sha256sum] = "6614fa7518f094f853741b63c73f3627168c5d3aca89b1d02b1016dc32854e09" | ||
19 | |||
20 | S = "${WORKDIR}/Authen-SASL-${PV}" | ||
21 | |||
22 | inherit cpan ptest | ||
23 | |||
24 | do_install_ptest () { | ||
25 | cp -r ${B}/t ${D}${PTEST_PATH} | ||
26 | } | ||
27 | |||
28 | PACKAGE_ARCH = "all" | ||
29 | BBCLASSEXTEND = "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 @@ | |||
1 | SUMMARY = "Capture::Tiny - Capture STDOUT and STDERR from Perl, XS or external programs." | ||
2 | DESCRIPTION = "Capture::Tiny provies a simple, portable way to capture \ | ||
3 | almost anything sent to STDOUT or STDERR, regardless of whether it comes \ | ||
4 | from Perl, from XS code or from an external program. Optionally, output can \ | ||
5 | be teed so that it is captured while being passed through to the original \ | ||
6 | filehandles. Yes, it even works on Windows (usually). Stop guessing which of \ | ||
7 | a dozen capturing modules to use in any particular situation and just use \ | ||
8 | this one." | ||
9 | SECTION = "libs" | ||
10 | |||
11 | HOMEPAGE = "http://search.cpan.org/~dagolden/Capture-Tiny/" | ||
12 | |||
13 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=37a4918a30ace24395020e5b8c03b83f" | ||
15 | |||
16 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Capture-Tiny-${PV}.tar.gz" | ||
17 | SRC_URI[md5sum] = "718e9d62c4a27a3207cf8506cb99d846" | ||
18 | SRC_URI[sha256sum] = "9bcf6f8472f8ea50401536cb070ac0c7770837d155c4d6abe212759863aae065" | ||
19 | |||
20 | S = "${WORKDIR}/Capture-Tiny-${PV}" | ||
21 | |||
22 | inherit cpan | ||
23 | |||
24 | RDEPENDS_${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 | |||
36 | BBCLASSEXTEND = "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 @@ | |||
1 | SUMMARY = "Crypt Openssl Random cpan module" | ||
2 | SECTION = "libs" | ||
3 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3" | ||
6 | |||
7 | SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-${PV}.tar.gz " | ||
8 | SRC_URI[md5sum] = "c56ac5dbdd46122eb9b8da59613b7b0a" | ||
9 | SRC_URI[sha256sum] = "acf7eb81023cd1f40d8c60b893096d041513df2be2aefe145cc7ae1a3dcc78c7" | ||
10 | |||
11 | S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}" | ||
12 | |||
13 | DEPENDS += " openssl \ | ||
14 | " | ||
15 | inherit 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 @@ | |||
1 | SUMMARY = "Crypt Openssl RSA cpan module" | ||
2 | SECTION = "libs" | ||
3 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3" | ||
5 | |||
6 | SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz " | ||
7 | |||
8 | SRC_URI[md5sum] = "86217a5036fc63779c30420b5fd84129" | ||
9 | SRC_URI[sha256sum] = "5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be" | ||
10 | |||
11 | DEPENDS += "openssl" | ||
12 | |||
13 | RDEPENDS_${PN}="libcrypt-openssl-random-perl" | ||
14 | |||
15 | EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'" | ||
16 | |||
17 | S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}" | ||
18 | |||
19 | inherit cpan | ||
20 | |||
21 | do_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 | ||
22 | use DBI; | ||
23 | |||
24 | sub 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 | |||
34 | sub 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. | ||
54 | my $dbfile = ":memory:"; | ||
55 | my $dbh = DBI->connect("DBI:SQLite:dbname=$dbfile","","") | ||
56 | or die "Couldn't connect to database: " . DBI->errstr; | ||
57 | print "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; | ||
69 | print "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 @@ | |||
1 | SUMMARY = "A Perl DBI driver for SQLite" | ||
2 | DESCRIPTION = "DBD::SQLite is a Perl DBI driver for SQLite, that includes the entire \ | ||
3 | thing in the distribution. So in order to get a fast transaction capable \ | ||
4 | RDBMS working for your perl project you simply have to install this \ | ||
5 | module, and nothing else. \ | ||
6 | " | ||
7 | HOMEPAGE = "http://search.cpan.org/~ishigaki/DBD-SQLite/" | ||
8 | |||
9 | SECTION = "libs" | ||
10 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
11 | DEPENDS += "libdbi-perl-native" | ||
12 | RDEPENDS_${PN} += "libdbi-perl \ | ||
13 | sqlite3 \ | ||
14 | perl-module-constant \ | ||
15 | perl-module-locale \ | ||
16 | perl-module-tie-hash \ | ||
17 | " | ||
18 | |||
19 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1726e2117494ba3e13e1c3d93f795360" | ||
20 | |||
21 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${PV}.tar.gz \ | ||
22 | file://sqlite-perl-test.pl \ | ||
23 | " | ||
24 | |||
25 | SRC_URI[md5sum] = "b9876882186499583428b14cf5c0e29c" | ||
26 | SRC_URI[sha256sum] = "21fb65e740b6265512c82232b4ad8f75c19ac84c216830112656274eb8e375fb" | ||
27 | |||
28 | S = "${WORKDIR}/DBD-SQLite-${PV}" | ||
29 | |||
30 | inherit cpan | ||
31 | |||
32 | BBCLASSEXTEND = "native" | ||
33 | |||
34 | do_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 @@ | |||
1 | SUMMARY = "The Perl Database Interface" | ||
2 | DESCRIPTION = "DBI is a database access Application Programming Interface \ | ||
3 | (API) for the Perl Language. The DBI API Specification defines a set \ | ||
4 | of functions, variables and conventions that provide a consistent \ | ||
5 | database interface independent of the actual database being used. \ | ||
6 | " | ||
7 | HOMEPAGE = "http://search.cpan.org/dist/DBI/" | ||
8 | SECTION = "libs" | ||
9 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
10 | RDEPENDS_${PN} = " perl-module-carp \ | ||
11 | perl-module-exporter \ | ||
12 | perl-module-exporter-heavy \ | ||
13 | perl-module-dynaloader \ | ||
14 | " | ||
15 | |||
16 | LIC_FILES_CHKSUM = "file://DBI.pm;beginline=8147;endline=8151;md5=7d9e154a9ca3c093d2422f7c692d5861" | ||
17 | |||
18 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz" | ||
19 | SRC_URI[md5sum] = "4273f8cc6ee3979ce448c7eb3f8a6a5a" | ||
20 | SRC_URI[sha256sum] = "46c834f4ba1b28c8d8a2db8095835a67fc69a9585761523aea3a74437a969b52" | ||
21 | |||
22 | S = "${WORKDIR}/DBI-${PV}" | ||
23 | |||
24 | inherit cpan | ||
25 | |||
26 | BBCLASSEXTEND = "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 | |||
3 | for 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 | ||
16 | done | ||
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 @@ | |||
1 | SUMMARY = "Keyed-Hashing for Message Authentication" | ||
2 | DESCRIPTION = "Keyed-Hashing for Message Authentication" | ||
3 | HOMEPAGE = "http://search.cpan.org/~gaas/Digest-HMAC-1.03/" | ||
4 | SECTION = "libs" | ||
5 | |||
6 | LICENSE = "Artistic-1.0|GPLv1+" | ||
7 | LIC_FILES_CHKSUM = "file://README;beginline=13;endline=17;md5=da980cdc026faa065e5d5004115334e6" | ||
8 | |||
9 | RDEPENDS_${PN} = "libdigest-sha1-perl perl-module-extutils-makemaker perl-module-digest-md5" | ||
10 | |||
11 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-${PV}.tar.gz \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | SRC_URI[md5sum] = "e6a5d6f552da16eacb5157ea4369ff9d" | ||
15 | SRC_URI[sha256sum] = "3bc72c6d3ff144d73aefb90e9a78d33612d58cf1cd1631ecfb8985ba96da4a59" | ||
16 | |||
17 | S = "${WORKDIR}/Digest-HMAC-${PV}" | ||
18 | |||
19 | inherit cpan ptest | ||
20 | |||
21 | do_install_ptest () { | ||
22 | cp -r ${B}/t ${D}${PTEST_PATH} | ||
23 | } | ||
24 | |||
25 | PACKAGE_ARCH = "all" | ||
26 | BBCLASSEXTEND = "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 @@ | |||
1 | SUMMARY = "Perl interface to the SHA-1 algorithm " | ||
2 | DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm" | ||
3 | HOMEPAGE = "http://search.cpan.org/~gaas/Digest-SHA1-2.13/" | ||
4 | SECTION = "libs" | ||
5 | |||
6 | LICENSE = "Artistic-1.0|GPLv1+" | ||
7 | LIC_FILES_CHKSUM = "file://README;beginline=10;endline=14;md5=ff5867ebb4bc1103a7a416aef2fce00a" | ||
8 | |||
9 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz \ | ||
10 | file://run-ptest \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "bd22388f268434f2b24f64e28bf1aa35" | ||
13 | SRC_URI[sha256sum] = "68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc" | ||
14 | |||
15 | S = "${WORKDIR}/Digest-SHA1-${PV}" | ||
16 | |||
17 | inherit cpan ptest | ||
18 | |||
19 | do_install_ptest () { | ||
20 | cp -r ${B}/t ${D}${PTEST_PATH} | ||
21 | } | ||
22 | |||
23 | BBCLASSEXTEND="native" | ||
24 | |||
25 | FILES_${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 @@ | |||
1 | SUMMARY = "ExtUtils::Config - A wrapper for perl's configuration" | ||
2 | DESCRIPTION = "ExtUtils::Config is an abstraction around the %Config hash." | ||
3 | SECTION = "libs" | ||
4 | |||
5 | HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Config/" | ||
6 | |||
7 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b1b813683bd988732e7fd6a796bf7f47" | ||
9 | |||
10 | SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-Config-${PV}.tar.gz" | ||
11 | SRC_URI[md5sum] = "2829c0dfa8a7e51b3f582efbee4bb128" | ||
12 | SRC_URI[sha256sum] = "2c1465078b876fd16a90507092805265528c2532d4937b03547a6dbdb8ac0eef" | ||
13 | |||
14 | S = "${WORKDIR}/ExtUtils-Config-${PV}" | ||
15 | |||
16 | inherit cpan | ||
17 | |||
18 | RDEPENDS_${PN} = " perl-module-extutils-makemaker \ | ||
19 | perl-module-data-dumper \ | ||
20 | perl-module-test-more \ | ||
21 | perl-module-file-temp \ | ||
22 | " | ||
23 | |||
24 | BBCLASSEXTEND = "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 @@ | |||
1 | SUMMARY = "ExtUtils::CppGuess - guess C++ compiler and flags" | ||
2 | DESCRIPTION = "ExtUtils::CppGuess attempts to guess the system's C++ \ | ||
3 | compiler that is compatible with the C compiler that your perl was built \ | ||
4 | with. \ | ||
5 | It can generate the necessary options to the Module::Build constructor or \ | ||
6 | to ExtUtils::MakeMaker's WriteMakefile function." | ||
7 | SECTION = "libs" | ||
8 | |||
9 | HOMEPAGE = "http://search.cpan.org/~smueller/ExtUtils-CppGuess/" | ||
10 | |||
11 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
12 | LIC_FILES_CHKSUM = "file://README;beginline=81;endline=84;md5=84c0390b90ea8c6702ce659b67bed699" | ||
13 | |||
14 | SRC_URI = "${CPAN_MIRROR}/authors/id/S/SM/SMUELLER/ExtUtils-CppGuess-${PV}.tar.gz" | ||
15 | SRC_URI[md5sum] = "350dd7c661189ea770d6c9354ebbc6c2" | ||
16 | SRC_URI[sha256sum] = "1cd83ee8452351219b987c79ddb25cc25ee8c396318ba36c5211a92b5c87e7a8" | ||
17 | |||
18 | S = "${WORKDIR}/ExtUtils-CppGuess-${PV}" | ||
19 | |||
20 | inherit cpan_build | ||
21 | |||
22 | do_install () { | ||
23 | cpan_build_do_install | ||
24 | } | ||
25 | |||
26 | RDEPENDS_${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 | |||
38 | BBCLASSEXTEND = "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 @@ | |||
1 | SUMMARY = "ExtUtils::Helpers - Various portability utilities for module builders" | ||
2 | DESCRIPTION = "This module provides various portable helper function for module building modules." | ||
3 | SECTION = "libs" | ||
4 | |||
5 | HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Helpers/" | ||
6 | |||
7 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=307057ce232899f5caa8858560c7274b" | ||
9 | |||
10 | SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-Helpers-${PV}.tar.gz" | ||
11 | SRC_URI[md5sum] = "cf4fd6f8caa6daac33b1111c9e93162b" | ||
12 | SRC_URI[sha256sum] = "d3f8cf700fb3414ca1260089755cbf64041455e4b744110677b1ba5bb9a3aa95" | ||
13 | |||
14 | S = "${WORKDIR}/ExtUtils-Helpers-${PV}" | ||
15 | |||
16 | inherit cpan | ||
17 | |||
18 | RDEPENDS_${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 | |||
29 | BBCLASSEXTEND = "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 @@ | |||
1 | SUMMARY = "ExtUtils::InstallPaths - Build.PL install path logic made easy" | ||
2 | DESCRIPTION = "This module tries to make install path resolution as easy \ | ||
3 | as possible." | ||
4 | SECTION = "libs" | ||
5 | |||
6 | HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-InstallPaths/" | ||
7 | |||
8 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=15bbcc2806d297df9e944b8955b38d82" | ||
10 | |||
11 | SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-${PV}.tar.gz" | ||
12 | SRC_URI[md5sum] = "f0b00cc6c04653588a6298fa1f16c07f" | ||
13 | SRC_URI[sha256sum] = "d14cbff118e467900c2c488b55b83ef697d6eb1b8f592c0521f1d82848bf2156" | ||
14 | |||
15 | S = "${WORKDIR}/ExtUtils-InstallPaths-${PV}" | ||
16 | |||
17 | inherit cpan | ||
18 | |||
19 | RDEPENDS_${PN} = " perl-module-extutils-makemaker \ | ||
20 | perl-module-data-dumper \ | ||
21 | perl-module-test-more \ | ||
22 | perl-module-file-temp \ | ||
23 | " | ||
24 | |||
25 | BBCLASSEXTEND = "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 | |||
3 | for 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 | ||
16 | done | ||
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 @@ | |||
1 | SUMMARY = "Perl library for transparent SSL" | ||
2 | DESCRIPTION = "This module is a true drop-in replacement for IO::Socket::INET that \ | ||
3 | uses SSL to encrypt data before it is transferred to a remote server \ | ||
4 | or client. IO::Socket::SSL supports all the extra features that one \ | ||
5 | needs to write a full-featured SSL client or server application: \ | ||
6 | multiple SSL contexts, cipher selection, certificate verification, and \ | ||
7 | SSL version selection. As an extra bonus, it works perfectly with \ | ||
8 | mod_perl." | ||
9 | HOMEPAGE = "http://search.cpan.org/dist/IO-Socket-SSL/" | ||
10 | SECTION = "libs" | ||
11 | |||
12 | LICENSE = "Artistic-1.0|GPLv1+" | ||
13 | LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" | ||
14 | |||
15 | RDEPENDS_${PN} += "perl-module-scalar-util libnet-ssleay-perl" | ||
16 | |||
17 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz \ | ||
18 | file://run-ptest \ | ||
19 | " | ||
20 | SRC_URI[md5sum] = "2a6268bb42da81e69d1c1feb2fcb0eea" | ||
21 | SRC_URI[sha256sum] = "acdb67b5b63aea5b7e70c3e4c70a16128810329592b63753a38c794aff76a1dd" | ||
22 | |||
23 | S = "${WORKDIR}/IO-Socket-SSL-${PV}" | ||
24 | |||
25 | inherit cpan ptest | ||
26 | |||
27 | PACKAGE_ARCH = "all" | ||
28 | |||
29 | do_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 | |||
40 | do_install_ptest () { | ||
41 | cp -r ${B}/t ${D}${PTEST_PATH} | ||
42 | cp -r ${B}/certs ${D}${PTEST_PATH} | ||
43 | } | ||
44 | |||
45 | BBCLASSEXTEND = "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 | |||
3 | for 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 | ||
16 | done | ||
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 @@ | |||
1 | SUMMARY = "MIME::Types - Definition of MIME types" | ||
2 | DESCRIPTION = "MIME types are used in MIME compliant lines, for instance \ | ||
3 | as part of e-mail and HTTP traffic, to indicate the type of content which \ | ||
4 | is transmitted. Sometimes real knowledge about a mime-type is need.\ | ||
5 | \n\ | ||
6 | This module maintains a set of MIME::Type objects, which each describe \ | ||
7 | one known mime type." | ||
8 | HOMEPAGE = "http://search.cpan.org/~markov/MIME-Types-${PV}" | ||
9 | SECTION = "libraries" | ||
10 | |||
11 | LICENSE = "Artistic-1.0|GPLv1+" | ||
12 | LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" | ||
13 | |||
14 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \ | ||
15 | file://run-ptest \ | ||
16 | " | ||
17 | SRC_URI[md5sum] = "e292bbf7756bb4999407f3f660697168" | ||
18 | SRC_URI[sha256sum] = "22b6069d372d587b1f2ecc6d0aaf50fb5c64920caed8c214b9884e64538acc8f" | ||
19 | |||
20 | S = "${WORKDIR}/MIME-Types-${PV}" | ||
21 | |||
22 | inherit cpan ptest | ||
23 | |||
24 | do_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 @@ | |||
1 | SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build" | ||
2 | DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \ | ||
3 | Makefile.PL file to drive distribution configuration, build, test and \ | ||
4 | installation. Traditionally, Build.PL uses Module::Build as the underlying \ | ||
5 | build system. This module provides a simple, lightweight, drop-in replacement. \ | ||
6 | Whereas Module::Build has over 6,700 lines of code; this module has less than \ | ||
7 | 120, yet supports the features needed by most distributions." | ||
8 | SECTION = "libs" | ||
9 | |||
10 | HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/" | ||
11 | |||
12 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aaca61412962cf972aec0cdad99d0a84" | ||
14 | |||
15 | DEPENDS = "libextutils-config-perl-native libextutils-helpers-perl-native libextutils-installpaths-perl-native" | ||
16 | |||
17 | SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz" | ||
18 | SRC_URI[md5sum] = "bfc92c655158ce623f0ced94f4ef02e5" | ||
19 | SRC_URI[sha256sum] = "d6706bf35e080e5af20cccf4fd565cc8af9c2a1e2e2075cee0a7de42cf0d6df9" | ||
20 | |||
21 | S = "${WORKDIR}/Module-Build-Tiny-${PV}" | ||
22 | |||
23 | inherit cpan_build | ||
24 | |||
25 | do_install () { | ||
26 | cpan_build_do_install | ||
27 | } | ||
28 | |||
29 | RDEPENDS_${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 | |||
54 | BBCLASSEXTEND = "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 @@ | |||
1 | SUMMARY = "Automatically give your module the ability to have plugins" | ||
2 | DESCRIPTION = "Provides a simple but, hopefully, extensible way of \ | ||
3 | having 'plugins' for your module. Obviously this isn't going to be the \ | ||
4 | be all and end all of solutions but it works for me.\ | ||
5 | \ | ||
6 | Essentially all it does is export a method into your namespace that \ | ||
7 | looks through a search path for .pm files and turn those into class \ | ||
8 | names.\ | ||
9 | \ | ||
10 | Optionally it instantiates those classes for you." | ||
11 | SECTION = "libs" | ||
12 | |||
13 | AUTHOR = "Simon Wistow <simon@thegestalt.org>" | ||
14 | HOMEPAGE = "https://github.com/simonwistow/Module-Pluggable" | ||
15 | |||
16 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
17 | LIC_FILES_CHKSUM = "file://README;beginline=322;endline=325;md5=086450ce010f6fda25db0b38fcc41086" | ||
18 | |||
19 | SRCNAME = "Module-Pluggable" | ||
20 | SRC_URI = "${CPAN_MIRROR}/authors/id/S/SI/SIMONW/${SRCNAME}-${PV}.tar.gz" | ||
21 | SRC_URI[md5sum] = "1b71ed7a67ad8c048d1499540bc892ba" | ||
22 | SRC_URI[sha256sum] = "e2dc354043bb16f1f3df8c4bb26070b26e594819f218cf8b8ac19e79c720916f" | ||
23 | |||
24 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
25 | |||
26 | inherit cpan_build | ||
27 | |||
28 | RDEPENDS_${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 | |||
38 | BBCLASSEXTEND = "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 @@ | |||
1 | SUMMARY = "Module::Runtime - runtime module handling" | ||
2 | DESCRIPTION = "The functions exported by this module deal with runtime \ | ||
3 | handling of Perl modules, which are normally handled at compile time. This \ | ||
4 | module avoids using any other modules, so that it can be used in low-level \ | ||
5 | infrastructure. \ | ||
6 | The parts of this module that work with module names apply the same syntax \ | ||
7 | that is used for barewords in Perl source. In principle this syntax can vary \ | ||
8 | between versions of Perl, and this module applies the syntax of the Perl on \ | ||
9 | which it is running. In practice the usable syntax hasn't changed yet, but \ | ||
10 | there's a good chance of it changing in Perl 5.18. \ | ||
11 | The functions of this module whose purpose is to load modules include \ | ||
12 | workarounds for three old Perl core bugs regarding require. These workarounds \ | ||
13 | are applied on any Perl version where the bugs exist, except for a case where \ | ||
14 | one of the bugs cannot be adequately worked around in pure Perl." | ||
15 | SECTION = "libs" | ||
16 | |||
17 | HOMEPAGE = "http://search.cpan.org/~zefram/Module-Runtime/" | ||
18 | |||
19 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
20 | LIC_FILES_CHKSUM = "file://README;beginline=43;endline=44;md5=62e24a93342fede7221d66335c716f34" | ||
21 | |||
22 | SRC_URI = "${CPAN_MIRROR}/authors/id/Z/ZE/ZEFRAM/Module-Runtime-${PV}.tar.gz" | ||
23 | SRC_URI[md5sum] = "a6597bc25536a30476f0d75b64d35734" | ||
24 | SRC_URI[sha256sum] = "4c44fe0ea255a9fd00741ee545063f6692d2a28e7ef2fbaad1b24a92803362a4" | ||
25 | |||
26 | S = "${WORKDIR}/Module-Runtime-${PV}" | ||
27 | |||
28 | inherit cpan_build | ||
29 | |||
30 | RDEPENDS_${PN} = " perl-module-test-more \ | ||
31 | perl-module-strict \ | ||
32 | perl-module-build \ | ||
33 | " | ||
34 | |||
35 | BBCLASSEXTEND = "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 | |||
3 | for 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 | ||
16 | done | ||
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 @@ | |||
1 | perl-Net-LibIDN: cross-compile | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Add support for cross-compile allowing the compiler binary to be | ||
6 | specified into the perl Makefile instead of using the default 'gcc'. | ||
7 | |||
8 | Signed-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 @@ | |||
1 | SUMMARY = "Net::LibIDN - Perl bindings for GNU Libidn" | ||
2 | DESCRIPTION = "\ | ||
3 | Provides bindings for GNU Libidn, a C library for handling Internationalized \ | ||
4 | Domain Names according to IDNA (RFC 3490), in a way very much inspired by \ | ||
5 | Turbo Fredriksson's PHP-IDN. \ | ||
6 | " | ||
7 | SECTION = "libs" | ||
8 | LICENSE = "Artistic-1.0 | GPLv1+" | ||
9 | HOMEPAGE = "http://search.cpan.org/dist/Net-LibIDN/" | ||
10 | DEPENDS += "libidn" | ||
11 | # We must need glibc-gconvs to enable charset related functions, | ||
12 | # such as Net::LibIDN::idn_to_ascii(). | ||
13 | RDEPENDS_${PN} += "glibc-gconvs" | ||
14 | |||
15 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-${PV}.tar.gz" | ||
16 | SRC_URI[md5sum] = "c3e4de2065009d67bcb1df0afb473e12" | ||
17 | SRC_URI[sha256sum] = "2f8acc9442b3866ec7dc63cd449fc693ae3e930d5d3e5e9430fbb6f393bdbb17" | ||
18 | |||
19 | SRC_URI += "file://libidn-wr-cross-compile.patch" | ||
20 | |||
21 | LIC_FILES_CHKSUM = "file://README;beginline=42;endline=92;md5=3374ea0369ca3ead6047520477a43147" | ||
22 | |||
23 | S = "${WORKDIR}/Net-LibIDN-${PV}" | ||
24 | |||
25 | EXTRA_CPANFLAGS = "--with-libidn=${STAGING_LIBDIR} --with-libidn-inc=${STAGING_INCDIR} --compiler='${CC}'" | ||
26 | EXTRA_CPANFLAGS += "--disable-tld" | ||
27 | |||
28 | inherit cpan | ||
29 | |||
30 | FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Net/LibIDN/.debug/" | ||
31 | |||
32 | do_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 @@ | |||
1 | SUMMARY = "Net::SSLeay - Perl extension for using OpenSSL" | ||
2 | DESCRIPTION = "This module offers some high level convenience functions for accessing \ | ||
3 | web pages on SSL servers (for symmetry, same API is offered for \ | ||
4 | accessing http servers, too), a sslcat() function for writing your own \ | ||
5 | clients, and finally access to the SSL api of SSLeay/OpenSSL package \ | ||
6 | so you can write servers or clients for more complicated applications." | ||
7 | HOMEPAGE = "http://search.cpan.org/dist/Net-SSLeay/" | ||
8 | SECTION = "libs" | ||
9 | |||
10 | LICENSE = "OpenSSL" | ||
11 | LIC_FILES_CHKSUM = "file://README;beginline=274;endline=294;md5=49f415984b387be999ee2ad0e5c692fe" | ||
12 | |||
13 | DEPENDS = "openssl zlib" | ||
14 | RDEPENDS_${PN} += "perl-module-carp \ | ||
15 | perl-module-errno \ | ||
16 | perl-module-extutils-makemaker \ | ||
17 | perl-module-mime-base64 \ | ||
18 | perl-module-socket \ | ||
19 | " | ||
20 | |||
21 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-${PV}.tar.gz \ | ||
22 | file://run-ptest \ | ||
23 | " | ||
24 | SRC_URI[md5sum] = "19600c036e9e0bbfbf9157f083e40755" | ||
25 | SRC_URI[sha256sum] = "2fb1371120b85f018944d95736c107163f04ba56b6029c0709a2c3d6247b9c06" | ||
26 | |||
27 | S = "${WORKDIR}/Net-SSLeay-${PV}" | ||
28 | |||
29 | inherit cpan ptest | ||
30 | |||
31 | EXTRA_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 | |||
37 | do_configure_prepend() { | ||
38 | export OPENSSL_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} | ||
39 | } | ||
40 | |||
41 | do_install_ptest() { | ||
42 | cp -r ${B}/t ${D}${PTEST_PATH} | ||
43 | } | ||
44 | |||
45 | BBCLASSEXTEND = "native" | ||
46 | |||
47 | FILES_${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 @@ | |||
1 | SUMMARY = "Test::Harness - Run Perl standard test scripts with statistics" | ||
2 | DESCRIPTION = "Although, for historical reasons, the Test::Harness \ | ||
3 | distribution takes its name from this module it now exists only to provide \ | ||
4 | TAP::Harness with an interface that is somewhat backwards compatible \ | ||
5 | with Test::Harness 2.xx. If you're writing new code consider using \ | ||
6 | TAP::Harness directly instead. \ | ||
7 | \ | ||
8 | Emulation is provided for runtests and execute_tests but the \ | ||
9 | pluggable 'Straps' interface that previous versions of Test::Harness \ | ||
10 | supported is not reproduced here. Straps is now available as a stand \ | ||
11 | alone module: Test::Harness::Straps. \ | ||
12 | \ | ||
13 | See TAP::Parser, TAP::Harness for the main documentation for this \ | ||
14 | distribution." | ||
15 | |||
16 | SECTION = "libs" | ||
17 | |||
18 | HOMEPAGE = "http://testanything.org" | ||
19 | |||
20 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
21 | LIC_FILES_CHKSUM = "file://README;beginline=29;endline=30;md5=b08db4360eec119e875dddd7cb8a5ddd" | ||
22 | |||
23 | SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Test-Harness-${PV}.tar.gz" | ||
24 | SRC_URI[md5sum] = "c1ff25da5dfdf77adea13dc3465638dd" | ||
25 | SRC_URI[sha256sum] = "ff1900f3b3e61321d3c4b3283298f3106d43d55446605e9cfcf1dcec036acec1" | ||
26 | |||
27 | S = "${WORKDIR}/Test-Harness-${PV}" | ||
28 | |||
29 | inherit cpan | ||
30 | |||
31 | RPROVIDES_${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 | |||
80 | BBCLASSEXTEND = "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 @@ | |||
1 | SUMMARY = "Text::Diff - Perform diffs on files and record sets" | ||
2 | DESCRIPTION = "diff() provides a basic set of services akin to the GNU diff \ | ||
3 | utility. It is not anywhere near as feature complete as GNU diff, but it is \ | ||
4 | better integrated with Perl and available on all platforms. It is often \ | ||
5 | faster than shelling out to a system's diff executable for small files, \ | ||
6 | and generally slower on larger files." | ||
7 | SECTION = "libs" | ||
8 | |||
9 | HOMEPAGE = "http://search.cpan.org/~ovid/Text-Diff/" | ||
10 | |||
11 | LICENSE = "Artistic-1.0 | GPL-2.0+" | ||
12 | LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3" | ||
13 | |||
14 | SRC_URI = "${CPAN_MIRROR}/authors/id/O/OV/OVID/Text-Diff-${PV}.tar.gz" | ||
15 | SRC_URI[md5sum] = "30d56e6dd5551ca16b8e16cc7299dc21" | ||
16 | SRC_URI[sha256sum] = "a67f50a48e313c1680cc662109ce5f913ea71454db355d0cf4db87ac89d2d2fa" | ||
17 | |||
18 | S = "${WORKDIR}/Text-Diff-${PV}" | ||
19 | |||
20 | inherit cpan | ||
21 | |||
22 | RDEPENDS_${PN} = " libalgorithm-diff-perl \ | ||
23 | perl-module-extutils-makemaker \ | ||
24 | perl-module-exporter \ | ||
25 | " | ||
26 | |||
27 | BBCLASSEXTEND = "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 @@ | |||
1 | SUMMARY = "Perl interface to iconv() codeset conversion function" | ||
2 | DESCRIPTION = "\ | ||
3 | The Text::Iconv module provides a Perl interface to the iconv() \ | ||
4 | function as defined by the Single UNIX Specification. The convert() \ | ||
5 | method converts the encoding of characters in the input string from \ | ||
6 | the fromcode codeset to the tocode codeset, and returns the result. \ | ||
7 | Settings of fromcode and tocode and their permitted combinations are \ | ||
8 | implementation-dependent. Valid values are specified in the system \ | ||
9 | documentation." | ||
10 | SECTION = "libs" | ||
11 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
12 | LIC_FILES_CHKSUM = "file://README;beginline=3;endline=6;md5=fadf2919c7128e887d26b4d905f90649" | ||
13 | RRECOMMENDS_${PN} += "glibc-gconvs" | ||
14 | |||
15 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MP/MPIOTR/Text-Iconv-${PV}.tar.gz" | ||
16 | |||
17 | SRC_URI[md5sum] = "81b26e069eaebb084e91ea3c009b67ae" | ||
18 | SRC_URI[sha256sum] = "5b80b7d5e709d34393bcba88971864a17b44a5bf0f9e4bcee383d029e7d2d5c3" | ||
19 | |||
20 | S = "${WORKDIR}/Text-Iconv-${PV}" | ||
21 | |||
22 | inherit cpan | ||
23 | |||
24 | FILES_${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 @@ | |||
1 | SUMMARY = "XML::Filter::BufferText - Filter to put all characters() in one event" | ||
2 | DESCRIPTION = "\ | ||
3 | The XML::Filter::BufferText module is a very simple filter. One common \ | ||
4 | cause of grief (and programmer error) is that XML parsers aren't required \ | ||
5 | to provide character events in one chunk. They can, but are not forced \ | ||
6 | to, and most don't. This filter does the trivial but oft-repeated task \ | ||
7 | of putting all characters into a single event. \ | ||
8 | " | ||
9 | SECTION = "libs" | ||
10 | LICENSE = "Artistic-1.0 | GPLv1+" | ||
11 | HOMEPAGE = "http://search.cpan.org/dist/XML-Filter-BufferText/" | ||
12 | DEPENDS += "libxml-sax-perl-native" | ||
13 | RDEPENDS_${PN} += "libxml-sax-perl" | ||
14 | |||
15 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RB/RBERJON/XML-Filter-BufferText-${PV}.tar.gz" | ||
16 | SRC_URI[md5sum] = "2992c0387632583b966ab9c965b25512" | ||
17 | SRC_URI[sha256sum] = "8fd2126d3beec554df852919f4739e689202cbba6a17506e9b66ea165841a75c" | ||
18 | |||
19 | LIC_FILES_CHKSUM = "file://BufferText.pm;beginline=88;endline=90;md5=497aa6d79cc84c3d769a2a0016bee928" | ||
20 | |||
21 | S = "${WORKDIR}/XML-Filter-BufferText-${PV}" | ||
22 | |||
23 | inherit cpan | ||
24 | |||
25 | BBCLASSEXTEND = "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 @@ | |||
1 | Do not use the _libxml_check_lib() on cross-compile | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | |||
5 | xml2 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 | ||
7 | return false on cross-compile environment | ||
8 | |||
9 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
10 | --- | ||
11 | Makefile.PL | 52 ++++++++++++++++++++++++++-------------------------- | ||
12 | 1 file changed, 26 insertions(+), 26 deletions(-) | ||
13 | |||
14 | diff --git a/Makefile.PL b/Makefile.PL | ||
15 | index 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 | -- | ||
78 | 1.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 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Fix a compile error by conditional using 'catal' since catal | ||
6 | is only defined when LIBXML_CATALOG_ENABLED is enabled. | ||
7 | |||
8 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
9 | --- | ||
10 | LibXML.xs | 2 ++ | ||
11 | 1 file changed, 2 insertions(+) | ||
12 | |||
13 | diff --git a/LibXML.xs b/LibXML.xs | ||
14 | index 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 | -- | ||
30 | 1.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 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | by conditional using 'XML_DOCB_DOCUMENT_NODE' since it is only | ||
6 | defined when LIBXML_DOCB_ENABLED is enabled in xmlversion.h. | ||
7 | |||
8 | Signed-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 | |||
15 | diff --git a/LibXML.xs b/LibXML.xs | ||
16 | index 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)) { | ||
51 | diff --git a/dom.c b/dom.c | ||
52 | index 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 | |||
65 | diff --git a/perl-libxml-mm.c b/perl-libxml-mm.c | ||
66 | index 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 | -- | ||
90 | 1.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 @@ | |||
1 | SUMMARY = "Perl interface to the libxml2 library" | ||
2 | DESCRIPTION = "This module is an interface to libxml2, providing XML and HTML parsers \ | ||
3 | with DOM, SAX and XMLReader interfaces, a large subset of DOM Layer 3 \ | ||
4 | interface and a XML::XPath-like interface to XPath API of libxml2. \ | ||
5 | The module is split into several packages which are not described in this \ | ||
6 | section; unless stated otherwise, you only need to use XML::LibXML; in \ | ||
7 | your programs." | ||
8 | |||
9 | HOMEPAGE = "http://search.cpan.org/dist/XML-LibXML-1.99/" | ||
10 | SECTION = "libs" | ||
11 | LICENSE = "Artistic-1.0|GPLv1+" | ||
12 | DEPENDS += "libxml2 \ | ||
13 | libxml-sax-perl-native \ | ||
14 | zlib \ | ||
15 | " | ||
16 | RDEPENDS_${PN} += "libxml2 \ | ||
17 | libxml-sax-perl \ | ||
18 | libxml-sax-base-perl \ | ||
19 | zlib \ | ||
20 | " | ||
21 | |||
22 | SRC_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 | " | ||
27 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=75e021e35a906347f46c9ff163653e2a \ | ||
28 | file://LICENSE;md5=97871bde150daeb5e61ad95137ff2446" | ||
29 | SRC_URI[libxml.md5sum] = "a53a743bf053a0cb4afb41513fb8a684" | ||
30 | SRC_URI[libxml.sha256sum] = "b154f2dad3033b30d22ac81b8985b69ad35450b0c552db394cd03bb36845812a" | ||
31 | |||
32 | S = "${WORKDIR}/XML-LibXML-${PV}" | ||
33 | |||
34 | inherit cpan | ||
35 | |||
36 | EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR}/libxml2 LIBS=-L${STAGING_LIBDIR}" | ||
37 | |||
38 | BBCLASSEXTEND = "native" | ||
39 | |||
40 | CFLAGS += " -D_GNU_SOURCE " | ||
41 | BUILD_CFLAGS += " -D_GNU_SOURCE " | ||
42 | |||
43 | do_configure_prepend() { | ||
44 | rm -rf ${S}/.pc/* | ||
45 | } | ||
46 | |||
47 | FILES_${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 @@ | |||
1 | SUMMARY = "XML::SAX::Writer - SAX2 Writer" | ||
2 | DESCRIPTION = "\ | ||
3 | XML::SAX::Writer helps to serialize SAX2 representations of XML documents to \ | ||
4 | strings, files, and other flat representations. It handles charset encodings, \ | ||
5 | XML escaping conventions, and so forth. It is still considered alpha, \ | ||
6 | although it has been put to limited use in settings such as XML::LibXML and \ | ||
7 | the AxKit XML Application Server. \ | ||
8 | " | ||
9 | SECTION = "libs" | ||
10 | LICENSE = "Artistic-1.0 | GPLv1+" | ||
11 | HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/" | ||
12 | DEPENDS += "libxml-filter-buffertext-perl-native" | ||
13 | RDEPENDS_${PN} += "libxml-filter-buffertext-perl" | ||
14 | |||
15 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz" | ||
16 | SRC_URI[md5sum] = "383139d76418a82b9800dc4f8b568891" | ||
17 | SRC_URI[sha256sum] = "a1b4d959aed8f8337523c4cef4b431e56e619c795dc6f99a868548952101cf3d" | ||
18 | |||
19 | LIC_FILES_CHKSUM = "file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e" | ||
20 | |||
21 | S = "${WORKDIR}/XML-SAX-Writer-${PV}" | ||
22 | |||
23 | inherit cpan | ||
24 | |||
25 | BBCLASSEXTEND = "native" | ||