]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - perl-Parse-Yapp/perl-Parse-Yapp.nm
perl: Recompile all modules
[people/pmueller/ipfire-3.x.git] / perl-Parse-Yapp / perl-Parse-Yapp.nm
CommitLineData
29b2659d
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-Parse-Yapp
7version = 1.21
e0d866c0 8release = 3
aa0ea679 9thisapp = Parse-Yapp-%{version}
29b2659d
SS
10
11groups = Development/Libratries
12url = http://search.cpan.org/dist/Parse-Yapp/
13license = GPL+ or Artistic
aa0ea679 14summary = Perl extension for generating and using LALR parsers.
29b2659d
SS
15
16description
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.
20end
21
22source_dl = https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/
23
29b2659d
SS
24build
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
48end
49
50packages
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
60end