Gentoo::MetaEbuild::Spec::MiniSpec - Minimal Conforming spec for MetaEbuilds.
version 0.1.0
use Gentoo::MetaEbuild::Spec::MiniSpec; if( Gentoo::MetaEbuild::Spec::MiniSpec->check( json_decode( scalar slurp( $file ) ) ) ){ print "$file is metaspec compliant\n"; }
Most the work for this module is performed by the parent class ::Spec::Base.
::Spec::Base
Everything outside that is governed by the .json files shipped in this distributions "Share" directory.
$root = { SCHEME => $scheme_spec # required ... # anything. } $scheme_spec = { min_version => "Minimum Version String", # required standard => "Schema Standard", # required generator => $generator_spec # optional } $generator_spec = { type => "Type String", # required author => $generator_auth_spec # optional module => $generator_modu_spec # optional } $generator_auth_spec = { name => "Authors name" # required email => "Authors contact Email" # required } $generator_modu_spec = { name => "Module::Name", # required version => "Module Version String", # required }
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2011 by Kent Fredric <kentnl@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Gentoo::MetaEbuild::Spec::MiniSpec, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gentoo::MetaEbuild::Spec::MiniSpec
CPAN shell
perl -MCPAN -e shell install Gentoo::MetaEbuild::Spec::MiniSpec
For more information on module installation, please visit the detailed CPAN module installation guide.