]>
Commit | Line | Data |
---|---|---|
31c73eed SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = perl-BDB | |
14baf792 | 7 | version = 1.91 |
1d0547dc | 8 | release = 1.1 |
31c73eed SS |
9 | thisapp = BDB-%{version} |
10 | ||
11 | groups = Development/Libraries | |
12 | url = http://search.cpan.org/dist/BDB/ | |
13 | license = GPL+ or Artistic | |
14 | summary = Asynchronous Berkeley DB access. | |
15 | ||
16 | description | |
17 | Asynchronous Berkeley DB access. | |
18 | end | |
19 | ||
20 | source_dl = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/ | |
21 | ||
22 | build | |
23 | requires | |
24 | perl(common::sense) | |
25 | perl(ExtUtils::MakeMaker) | |
26 | perl(ExtUtils::ParseXS) | |
27 | libdb-devel | |
1d0547dc | 28 | pakfire >= 0.9.26-3.1 |
31c73eed SS |
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 | ||
14baf792 SS |
40 | make_install_targets = \ |
41 | pure_install DESTDIR=%{BUILDROOT} | |
31c73eed SS |
42 | end |
43 | ||
44 | packages | |
45 | package %{name} | |
46 | requires | |
14baf792 | 47 | perl(:MODULE_COMPAT_%{perl_version}) |
31c73eed SS |
48 | end |
49 | end | |
50 | ||
51 | package %{name}-debuginfo | |
52 | template DEBUGINFO | |
53 | end | |
54 | end |