]> git.ipfire.org Git - ipfire-3.x.git/blob - perl-FCGI/perl-FCGI.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / perl-FCGI / perl-FCGI.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-FCGI
7 version = 0.77
8 release = 3
9 thisapp = FCGI-%{version}
10
11 groups = Development/Libraries
12 url = http://search.cpan.org/dist/FCGI
13 license = OML
14 summary = FastCGI perl bindings.
15
16 description
17 FastCGI perl bindings.
18 end
19
20 source_dl = http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/
21
22 build
23 requires
24 perl(ExtUtils::MakeMaker)
25 perl(ExtUtils::ParseXS)
26 perl(Test::More)
27 end
28
29 build
30 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
31 make %{PARALLELISMFLAGS}
32 end
33
34 test
35 make test
36 end
37
38 make_install_targets = \
39 pure_install DESTDIR=%{BUILDROOT}
40
41 install_cmds
42 # Set correct library permissions.
43 find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
44 -exec chmod 755 {} \;
45 end
46 end
47
48 packages
49 package %{name}
50 requires
51 perl(:MODULE_COMPAT_%{perl_version})
52 end
53 end
54
55 package %{name}-debuginfo
56 template DEBUGINFO
57 end
58 end