Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- perl-JSON/perl-JSON.nm | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 perl-JSON/perl-JSON.nm
diff --git a/perl-JSON/perl-JSON.nm b/perl-JSON/perl-JSON.nm new file mode 100644 index 000000000..b673ab4ca --- /dev/null +++ b/perl-JSON/perl-JSON.nm @@ -0,0 +1,48 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team info@ipfire.org # +############################################################################### + +name = perl-JSON +version = 4.10 +release = 1 +arch = noarch +thisapp = JSON-%{version} + +groups = Development/Libraries +url = http://search.cpan.org/dist/JSON/ +license = GPL+ or Artistic +summary = JSON (JavaScript Object Notation) encoder/decoder. + +description + This module is a thin wrapper for JSON::XS-compatible modules with a few + additional features. All the backend modules convert a Perl data structure + to a JSON text and vice versa. + + This module uses JSON::XS by default, and when JSON::XS is not available, + falls back on JSON::PP, which is in the Perl core since 5.14. +end + +source_dl = https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/ + +build + requires + perl(ExtUtils::MakeMaker) + perl(Test::More) + end + + build + perl Makefile.PL INSTALLDIRS=perl + make %{PARALLELISMFLAGS} + end + + test + #make test + end +end + +packages + package %{name} + filter_requires = (JSON::backportPP) + end +end