From: Mingli Yu <[email protected]> * Add new recipe www-robotrules-perl as libwww-perl-perl rdepends on www-robotrules-perl
Signed-off-by: Mingli Yu <[email protected]> --- .../perl/www-robotrules-perl_6.02.bb | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta/recipes-devtools/perl/www-robotrules-perl_6.02.bb diff --git a/meta/recipes-devtools/perl/www-robotrules-perl_6.02.bb b/meta/recipes-devtools/perl/www-robotrules-perl_6.02.bb new file mode 100644 index 0000000..e6acbc7 --- /dev/null +++ b/meta/recipes-devtools/perl/www-robotrules-perl_6.02.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "This module parses /robots.txt files as specified in \"A Standard for \ +Robot Exclusion\", at <http://www.robotstxt.org/wc/norobots.html> \ +Webmasters can \ +use the /robots.txt file to forbid conforming robots from accessing \ +parts of \ +their web site." + +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-2.0" +PR = "r0" + +MAINTAINER= "Poky <[email protected]>" +HOMEPAGE= "https://metacpan.org/release/WWW-RobotRules" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ +file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +SRC_URI = "http://cpan.metacpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-${PV}.tar.gz" + +SRC_URI[md5sum] = "b7186e8b8b3701e70c22abf430742403" +SRC_URI[sha256sum] = "46b502e7a288d559429891eeb5d979461dd3ecc6a5c491ead85d165b6e03a51e" +RDEPENDS_${PN} += "uri-perl" + +S = "${WORKDIR}/WWW-RobotRules-${PV}" + +inherit cpan + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} + +BBCLASSEXTEND = "native" -- 2.8.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
