]>
Commit | Line | Data |
---|---|---|
499fc36e SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-DBI | |
dbcd9c8e | 7 | version = 1.643 |
e0d866c0 | 8 | release = 3 |
499fc36e SS |
9 | thisapp = DBI-%{version} |
10 | ||
11 | groups = Development/Libraries | |
12 | url = http://dbi.perl.org | |
13 | license = GPL+ or Artistic | |
14 | summary = A database access API for perl. | |
15 | ||
16 | description | |
17 | DBI is a database access Application Programming Interface (API) for | |
18 | the Perl Language. | |
19 | end | |
20 | ||
21 | source_dl = http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/ | |
22 | ||
23 | build | |
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 |
80 | end |
81 | ||
82 | packages | |
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 | |
95 | end |