]> git.ipfire.org Git - ipfire-3.x.git/blob - perl-libintl-perl/perl-libintl-perl.nm
perl: Recompile all modules
[ipfire-3.x.git] / perl-libintl-perl / perl-libintl-perl.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-libintl-perl
7 version = 1.33
8 release = 3
9 thisapp = libintl-perl-%{version}
10
11 groups = Development/Libraries
12 url = http://search.cpan.org/dist/libintl-perl/
13 license = GPL+ or Artistic
14 summary = An internationalization library for Perl
15
16 description
17 The package libintl-perl is an internationalization library for Perl
18 that aims to be compatible with the Uniforum message translations
19 system as implemented for example in GNU gettext.
20 end
21
22 source_dl = http://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/
23
24 build
25 requires
26 /usr/bin/xsubpp
27 perl(locale)
28 perl(ExtUtils::MakeMaker)
29 perl(Test::More)
30 end
31
32 build
33 perl Makefile.PL INSTALLDIRS=vendor
34 make %{PARALLELISMFLAGS}
35 end
36
37 test
38 make test
39 end
40
41 make_install_targets = \
42 pure_install DESTDIR=%{BUILDROOT}
43
44 install_cmds
45 # Set correct library permissions.
46 find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
47 -exec chmod 755 {} \;
48 end
49 end
50
51 packages
52 package %{name}
53 requires
54 perl(:MODULE_COMPAT_%{perl_version})
55 end
56 end
57
58 package %{name}-debuginfo
59 template DEBUGINFO
60 end
61 end