]>
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 | |
7 | version = 1.618 | |
8 | release = 1 | |
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) | |
29 | end | |
30 | ||
31 | build | |
32 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
33 | make %{PARALLELISMFLAGS} | |
34 | end | |
35 | ||
36 | test | |
37 | make test | |
38 | end | |
39 | ||
40 | make_install_targets = pure_install DESTDIR=%{BUILDROOT} | |
41 | end | |
42 | ||
43 | packages | |
44 | package %{name} | |
45 | filter_requires | |
46 | RPC | |
47 | Win32 | |
48 | end | |
49 | ||
50 | requires | |
51 | perl | |
52 | end | |
53 | end | |
54 | ||
55 | package %{name}-debuginfo | |
56 | template DEBUGINFO | |
57 | end | |
58 | end |