]> git.ipfire.org Git - ipfire-3.x.git/blob - perl-Parse-Yapp/perl-Parse-Yapp.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / perl-Parse-Yapp / perl-Parse-Yapp.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-Parse-Yapp
7 version = 1.21
8 release = 3
9 thisapp = Parse-Yapp-%{version}
10
11 groups = Development/Libratries
12 url = http://search.cpan.org/dist/Parse-Yapp/
13 license = GPL+ or Artistic
14 summary = Perl extension for generating and using LALR parsers.
15
16 description
17 Parse::Yapp (Yet Another Perl Parser compiler) is a collection of modules
18 that let you generate and use yacc like thread safe (reentrant) parsers with
19 perl object oriented interface.
20 end
21
22 source_dl = https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/
23
24 build
25 requires
26 perl(ExtUtils::MakeMaker)
27 perl(Test::More)
28 end
29
30 build
31 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
32 make %{PARALLELISMFLAGS}
33 end
34
35 test
36 make test
37 end
38
39 install_cmds
40 # Set correct library permissions.
41 find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
42 -exec chmod 755 {} \;
43
44 # Set correct binary permissions.
45 find %{BUILDROOT}%{bindir} -type f -executable \
46 -exec chmod 755 {} \;
47 end
48 end
49
50 packages
51 package %{name}
52 requires
53 perl(:MODULE_COMPAT_%{perl_version})
54 end
55 end
56
57 package %{name}-debuginfo
58 template DEBUGINFO
59 end
60 end