]> git.ipfire.org Git - ipfire-3.x.git/blame - perl-DBI/perl-DBI.nm
perl: Recompile all modules
[ipfire-3.x.git] / perl-DBI / perl-DBI.nm
CommitLineData
499fc36e
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-DBI
dbcd9c8e 7version = 1.643
e0d866c0 8release = 3
499fc36e
SS
9thisapp = DBI-%{version}
10
11groups = Development/Libraries
12url = http://dbi.perl.org
13license = GPL+ or Artistic
14summary = A database access API for perl.
15
16description
17 DBI is a database access Application Programming Interface (API) for
18 the Perl Language.
19end
20
21source_dl = http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/
22
23build
24 requires
dbcd9c8e 25 perl(B)
df4bc41f 26 perl(blib)
800771e9
MT
27 perl(Carp)
28 perl(Cwd)
29 perl(Data::Dumper)
30 perl(DynaLoader)
31 perl(Errno)
32 perl(Exporter)
499fc36e
SS
33 perl(ExtUtils::MakeMaker)
34 perl(ExtUtils::ParseXS)
800771e9
MT
35 perl(File::Basename)
36 perl(File::Find)
37 perl(File::Spec)
38 perl(Getopt::Long)
39 perl(IO::Dir)
40 perl(IO::File)
41 perl(IO::Select)
42 perl(IPC::Open3)
43 perl(Math::BigInt)
44 perl(Scalar::Util)
45 perl(Storable)
46 perl(Symbol)
47 perl(Tie::Hash)
499fc36e 48 perl(Test::Simple)
800771e9 49 perl(base)
8b85fef3 50 perl(blib)
800771e9
MT
51 perl(strict)
52 perl-devel
dbcd9c8e
SS
53
54 # Only required to successfully perform
55 # the testsuite.
56 perl-core
499fc36e
SS
57 end
58
59 build
60 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
61 make %{PARALLELISMFLAGS}
62 end
63
64 test
65 make test
66 end
67
3a0de3c5
SS
68 make_install_targets = \
69 pure_install DESTDIR=%{BUILDROOT}
512b3407
SS
70
71 install_cmds
72 # Set correct library permissions.
73 find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
74 -exec chmod 755 {} \;
75
76 # Set correct binary permissions.
77 find %{BUILDROOT}%{bindir} -type f -executable \
78 -exec chmod 755 {} \;
79 end
499fc36e
SS
80end
81
82packages
83 package %{name}
8b85fef3 84 filter_requires = (RPC|Win32)
499fc36e
SS
85
86 requires
3a0de3c5 87 perl(:MODULE_COMPAT_%{perl_version})
800771e9 88 perl(Math::BigInt)
499fc36e
SS
89 end
90 end
91
92 package %{name}-debuginfo
93 template DEBUGINFO
94 end
95end