]>
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 |
800771e9 | 8 | release = 1 |
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) |
800771e9 MT |
26 | perl(Carp) |
27 | perl(Cwd) | |
28 | perl(Data::Dumper) | |
29 | perl(DynaLoader) | |
30 | perl(Errno) | |
31 | perl(Exporter) | |
499fc36e SS |
32 | perl(ExtUtils::MakeMaker) |
33 | perl(ExtUtils::ParseXS) | |
800771e9 MT |
34 | perl(File::Basename) |
35 | perl(File::Find) | |
36 | perl(File::Spec) | |
37 | perl(Getopt::Long) | |
38 | perl(IO::Dir) | |
39 | perl(IO::File) | |
40 | perl(IO::Select) | |
41 | perl(IPC::Open3) | |
42 | perl(Math::BigInt) | |
43 | perl(Scalar::Util) | |
44 | perl(Storable) | |
45 | perl(Symbol) | |
46 | perl(Tie::Hash) | |
499fc36e | 47 | perl(Test::Simple) |
800771e9 MT |
48 | perl(base) |
49 | perl(strict) | |
50 | perl-devel | |
dbcd9c8e SS |
51 | |
52 | # Only required to successfully perform | |
53 | # the testsuite. | |
54 | perl-core | |
499fc36e SS |
55 | end |
56 | ||
57 | build | |
58 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
59 | make %{PARALLELISMFLAGS} | |
60 | end | |
61 | ||
62 | test | |
63 | make test | |
64 | end | |
65 | ||
3a0de3c5 SS |
66 | make_install_targets = \ |
67 | pure_install DESTDIR=%{BUILDROOT} | |
499fc36e SS |
68 | end |
69 | ||
70 | packages | |
71 | package %{name} | |
72 | filter_requires | |
73 | RPC | |
74 | Win32 | |
75 | end | |
76 | ||
77 | requires | |
3a0de3c5 | 78 | perl(:MODULE_COMPAT_%{perl_version}) |
800771e9 | 79 | perl(Math::BigInt) |
499fc36e SS |
80 | end |
81 | end | |
82 | ||
83 | package %{name}-debuginfo | |
84 | template DEBUGINFO | |
85 | end | |
86 | end |