Message ID | 1391410275-31251-9-git-send-email-ticotimo@gmail.com |
---|---|
State | Superseded, archived |
Headers | show |
diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb new file mode 100644 index 0000000..fadd9c7 --- /dev/null +++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb @@ -0,0 +1,54 @@ +SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build" +DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \ +Makefile.PL file to drive distribution configuration, build, test and \ +installation. Traditionally, Build.PL uses Module::Build as the underlying \ +build system. This module provides a simple, lightweight, drop-in replacement. \ +Whereas Module::Build has over 6,700 lines of code; this module has less than \ +120, yet supports the features needed by most distributions." +SECTION = "libs" + +HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=aaca61412962cf972aec0cdad99d0a84" + +DEPENDS = "libextutils-config-native libextutils-helpers-native libextutils-installpaths-native" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz" +SRC_URI[md5sum] = "1c54bf4c602eec87f98950314699402e" +SRC_URI[sha256sum] = "dfd418ad0e8290cf645ab11be209a1bf6865e5a562c5a1592da99d5fd24718a8" + +S = "${WORKDIR}/Module-Build-Tiny-${PV}" + +inherit cpan_build + +do_install () { + cpan_build_do_install +} + +RDEPENDS_${PN} = " libextutils-config-perl \ + libextutils-helpers-perl \ + libextutils-installpaths-perl \ + perl-module-xsloader \ + perl-module-file-spec \ + perl-module-io-handle \ + perl-module-tap-harness-env \ + perl-module-ipc-open3 \ + perl-module-file-path \ + perl-module-cpan-meta \ + perl-module-extutils-cbuilder \ + perl-module-getopt-long \ + perl-module-extutils-makemaker \ + perl-module-exporter \ + perl-module-carp \ + perl-module-test-more \ + perl-module-text-parsewords \ + perl-module-module-load \ + perl-module-file-temp \ + perl-module-data-dumper \ + perl-module-extutils-parsexs \ + perl-module-pod-man \ + perl-module-json-pp \ +" + +BBCLASSEXTEND = "native"
On 02/03/2014 02:51 PM, Tim Orling wrote: > [Description from CPAN] > Many Perl distributions use a Build.PL file instead of a > Makefile.PL file to drive distribution configuration, build, test and > installation. Traditionally, Build.PL uses Module::Build as the underlying > build system. This module provides a simple, lightweight, drop-in replacement. > > Signed-off-by: Tim Orling <ticotimo@gmail.com> > --- > .../libmodule/libmodule-build-tiny-perl_0.030.bb | 54 ++++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb > > diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb > new file mode 100644 > index 0000000..fadd9c7 > --- /dev/null > +++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb > @@ -0,0 +1,54 @@ > +SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build" > +DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \ > +Makefile.PL file to drive distribution configuration, build, test and \ > +installation. Traditionally, Build.PL uses Module::Build as the underlying \ > +build system. This module provides a simple, lightweight, drop-in replacement. \ > +Whereas Module::Build has over 6,700 lines of code; this module has less than \ > +120, yet supports the features needed by most distributions." > +SECTION = "libs" > + > +HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/" > + > +LICENSE = "Artistic-1.0 | GPL-1.0+" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=aaca61412962cf972aec0cdad99d0a84" > + > +DEPENDS = "libextutils-config-native libextutils-helpers-native libextutils-installpaths-native" > + Hi Tim, Not found '"libextutils-config-native libextutils-helpers-native libextutils-installpaths-native"', Is '*-perl-*' missing ? $ bitbake libmodule-build-tiny-perl Loading cache: 100% |#########################################################################################################| ETA: 00:00:00 Loaded 1243 entries from dependency cache. NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'libextutils-config-native' (but /home/jiahongxu/yocto/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb DEPENDS on or otherwise requires it). Close matches: libextutils-config-perl-native libextutils-config-perl libextutils-cppguess-perl-native ERROR: Required build target 'libmodule-build-tiny-perl' has no buildable providers. Missing or unbuildable dependency chain was: ['libmodule-build-tiny-perl', 'libextutils-config-native'] Hi Paul & Tim, Sorry for the late reply, the inaccurate email fillter rules caused me missing the meta-perl mail, I have fixed it, and put them as prior. //Hongxu > +SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz" > +SRC_URI[md5sum] = "1c54bf4c602eec87f98950314699402e" > +SRC_URI[sha256sum] = "dfd418ad0e8290cf645ab11be209a1bf6865e5a562c5a1592da99d5fd24718a8" > + > +S = "${WORKDIR}/Module-Build-Tiny-${PV}" > + > +inherit cpan_build > + > +do_install () { > + cpan_build_do_install > +} > + > +RDEPENDS_${PN} = " libextutils-config-perl \ > + libextutils-helpers-perl \ > + libextutils-installpaths-perl \ > + perl-module-xsloader \ > + perl-module-file-spec \ > + perl-module-io-handle \ > + perl-module-tap-harness-env \ > + perl-module-ipc-open3 \ > + perl-module-file-path \ > + perl-module-cpan-meta \ > + perl-module-extutils-cbuilder \ > + perl-module-getopt-long \ > + perl-module-extutils-makemaker \ > + perl-module-exporter \ > + perl-module-carp \ > + perl-module-test-more \ > + perl-module-text-parsewords \ > + perl-module-module-load \ > + perl-module-file-temp \ > + perl-module-data-dumper \ > + perl-module-extutils-parsexs \ > + perl-module-pod-man \ > + perl-module-json-pp \ > +" > + > +BBCLASSEXTEND = "native"
On 03/31/2014 11:35 AM, Tim Orling wrote: > Yes, -perl is missing. Didn't quite fix the Debian-izing of that > recipe :) > > I will submit a patch. > > --Tim > > BTW, I did not create the info for the Readme for the layer. With > these 10 recipes, about 14 more I have in the wings and about 80 I am > working on that Paul has pointed me to (from Emil), that Readme is > going to get VERY long. Do we want to maintain the practice or ...? > Don't get me wrong, it is helpful. > Yes, any README for the practice is welcomed, there is a README in meta-perl/, if yours is very long, you could put it in the involved recipes dir or summarize it to take an simple example to add to meta-perl/README. //Hongxu > > On Fri, Mar 28, 2014 at 11:24 PM, Hongxu Jia <hongxu.jia@windriver.com > <mailto:hongxu.jia@windriver.com>> wrote: > > On 02/03/2014 02:51 PM, Tim Orling wrote: > > [Description from CPAN] > Many Perl distributions use a Build.PL file instead of a > Makefile.PL file to drive distribution configuration, build, > test and > installation. Traditionally, Build.PL uses Module::Build as > the underlying > build system. This module provides a simple, lightweight, > drop-in replacement. > > Signed-off-by: Tim Orling <ticotimo@gmail.com > <mailto:ticotimo@gmail.com>> > --- > .../libmodule/libmodule-build-tiny-perl_0.030.bb > <http://libmodule-build-tiny-perl_0.030.bb> | 54 > ++++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 > meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb > <http://libmodule-build-tiny-perl_0.030.bb> > > diff --git > a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb > <http://libmodule-build-tiny-perl_0.030.bb> > b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb > <http://libmodule-build-tiny-perl_0.030.bb> > new file mode 100644 > index 0000000..fadd9c7 > --- /dev/null > +++ > b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb > <http://libmodule-build-tiny-perl_0.030.bb> > @@ -0,0 +1,54 @@ > +SUMMARY = "Module::Build::Tiny - A tiny replacement for > Module::Build" > +DESCRIPTION = "Many Perl distributions use a Build.PL file > instead of a \ > +Makefile.PL file to drive distribution configuration, build, > test and \ > +installation. Traditionally, Build.PL uses Module::Build as > the underlying \ > +build system. This module provides a simple, lightweight, > drop-in replacement. \ > +Whereas Module::Build has over 6,700 lines of code; this > module has less than \ > +120, yet supports the features needed by most distributions." > +SECTION = "libs" > + > +HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/ > <http://search.cpan.org/%7Eleont/Module-Build-Tiny/>" > + > +LICENSE = "Artistic-1.0 | GPL-1.0+" > +LIC_FILES_CHKSUM = > "file://LICENSE;md5=aaca61412962cf972aec0cdad99d0a84" > + > +DEPENDS = "libextutils-config-native > libextutils-helpers-native libextutils-installpaths-native" > + > > Hi Tim, > > Not found '"libextutils-config-native libextutils-helpers-native > libextutils-installpaths-native"', > > Is '*-perl-*' missing ? > > $ bitbake libmodule-build-tiny-perl > Loading cache: 100% > |#########################################################################################################| > ETA: 00:00:00 > Loaded 1243 entries from dependency cache. > NOTE: Resolving any missing task queue dependencies > ERROR: Nothing PROVIDES 'libextutils-config-native' (but > /home/jiahongxu/yocto/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb > <http://libmodule-build-tiny-perl_0.030.bb> DEPENDS on or > otherwise requires it). Close matches: > libextutils-config-perl-native > libextutils-config-perl > libextutils-cppguess-perl-native > ERROR: Required build target 'libmodule-build-tiny-perl' has no > buildable providers. > Missing or unbuildable dependency chain was: > ['libmodule-build-tiny-perl', 'libextutils-config-native'] > > Hi Paul & Tim, > > Sorry for the late reply, the inaccurate email fillter > rules caused me missing the meta-perl mail, I have fixed it, > and put them as prior. > > //Hongxu > > > +SRC_URI = > "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz > <http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-Tiny-$%7BPV%7D.tar.gz>" > +SRC_URI[md5sum] = "1c54bf4c602eec87f98950314699402e" > +SRC_URI[sha256sum] = > "dfd418ad0e8290cf645ab11be209a1bf6865e5a562c5a1592da99d5fd24718a8" > + > +S = "${WORKDIR}/Module-Build-Tiny-${PV}" > + > +inherit cpan_build > + > +do_install () { > + cpan_build_do_install > +} > + > +RDEPENDS_${PN} = " libextutils-config-perl \ > + libextutils-helpers-perl \ > + libextutils-installpaths-perl \ > + perl-module-xsloader \ > + perl-module-file-spec \ > + perl-module-io-handle \ > + perl-module-tap-harness-env \ > + perl-module-ipc-open3 \ > + perl-module-file-path \ > + perl-module-cpan-meta \ > + perl-module-extutils-cbuilder \ > + perl-module-getopt-long \ > + perl-module-extutils-makemaker \ > + perl-module-exporter \ > + perl-module-carp \ > + perl-module-test-more \ > + perl-module-text-parsewords \ > + perl-module-module-load \ > + perl-module-file-temp \ > + perl-module-data-dumper \ > + perl-module-extutils-parsexs \ > + perl-module-pod-man \ > + perl-module-json-pp \ > +" > + > +BBCLASSEXTEND = "native" > > >
[Description from CPAN] Many Perl distributions use a Build.PL file instead of a Makefile.PL file to drive distribution configuration, build, test and installation. Traditionally, Build.PL uses Module::Build as the underlying build system. This module provides a simple, lightweight, drop-in replacement. Signed-off-by: Tim Orling <ticotimo@gmail.com> --- .../libmodule/libmodule-build-tiny-perl_0.030.bb | 54 ++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.030.bb