Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- perl-Parse-Yapp/perl-Parse-Yapp.nm | 51 ++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 perl-Parse-Yapp/perl-Parse-Yapp.nm
diff --git a/perl-Parse-Yapp/perl-Parse-Yapp.nm b/perl-Parse-Yapp/perl-Parse-Yapp.nm new file mode 100644 index 000000000..4a48f3eea --- /dev/null +++ b/perl-Parse-Yapp/perl-Parse-Yapp.nm @@ -0,0 +1,51 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team info@ipfire.org # +############################################################################### + +name = perl-Parse-Yapp +version = 1.21 +release = 1 + +groups = Development/Libratries +url = http://search.cpan.org/dist/Parse-Yapp/ +license = GPL+ or Artistic +summary = Perl extension for generating and using LALR parsers. + +description + Parse::Yapp (Yet Another Perl Parser compiler) is a collection of modules + that let you generate and use yacc like thread safe (reentrant) parsers with + perl object oriented interface. +end + +source_dl = https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/ + +thisapp = Parse-Yapp-%{version} + +build + requires + perl(ExtUtils::MakeMaker) + perl(Test::More) + end + + build + perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" + make %{PARALLELISMFLAGS} + end + + test + make test + end +end + +packages + package %{name} + requires + perl(:MODULE_COMPAT_%{perl_version}) + end + end + + package %{name}-debuginfo + template DEBUGINFO + end +end