]>
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 | |
3a0de3c5 | 7 | version = 1.633 |
1d0547dc | 8 | release = 1.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 | |
25 | perl(ExtUtils::MakeMaker) | |
26 | perl(ExtUtils::ParseXS) | |
27 | perl(Carp) | |
28 | perl(Test::Simple) | |
1d0547dc | 29 | pakfire >= 0.9.26-3.1 |
499fc36e SS |
30 | end |
31 | ||
32 | build | |
33 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
34 | make %{PARALLELISMFLAGS} | |
35 | end | |
36 | ||
37 | test | |
38 | make test | |
39 | end | |
40 | ||
3a0de3c5 SS |
41 | make_install_targets = \ |
42 | pure_install DESTDIR=%{BUILDROOT} | |
499fc36e SS |
43 | end |
44 | ||
45 | packages | |
46 | package %{name} | |
47 | filter_requires | |
48 | RPC | |
49 | Win32 | |
50 | end | |
51 | ||
52 | requires | |
3a0de3c5 | 53 | perl(:MODULE_COMPAT_%{perl_version}) |
499fc36e SS |
54 | end |
55 | end | |
56 | ||
57 | package %{name}-debuginfo | |
58 | template DEBUGINFO | |
59 | end | |
60 | end |