]>
Commit | Line | Data |
---|---|---|
29b2659d SS |
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 | |
b3a75678 | 8 | release = 2 |
aa0ea679 | 9 | thisapp = Parse-Yapp-%{version} |
29b2659d SS |
10 | |
11 | groups = Development/Libratries | |
12 | url = http://search.cpan.org/dist/Parse-Yapp/ | |
13 | license = GPL+ or Artistic | |
aa0ea679 | 14 | summary = Perl extension for generating and using LALR parsers. |
29b2659d SS |
15 | |
16 | description | |
aa0ea679 | 17 | Parse::Yapp (Yet Another Perl Parser compiler) is a collection of modules |
29b2659d SS |
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 | ||
29b2659d SS |
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 | |
b3a75678 SS |
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 | |
29b2659d SS |
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 |