]>
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 |
3e98b462 | 8 | release = 2 |
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 | |
28 | end | |
29 | ||
30 | build | |
31 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
32 | make %{PARALLELISMFLAGS} | |
33 | end | |
34 | ||
35 | test | |
36 | make test | |
37 | end | |
38 | ||
14baf792 SS |
39 | make_install_targets = \ |
40 | pure_install DESTDIR=%{BUILDROOT} | |
3e98b462 SS |
41 | |
42 | install_cmds | |
43 | # Set correct library permissions. | |
44 | find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ | |
45 | -exec chmod 755 {} \; | |
46 | end | |
31c73eed SS |
47 | end |
48 | ||
49 | packages | |
50 | package %{name} | |
51 | requires | |
14baf792 | 52 | perl(:MODULE_COMPAT_%{perl_version}) |
31c73eed SS |
53 | end |
54 | end | |
55 | ||
56 | package %{name}-debuginfo | |
57 | template DEBUGINFO | |
58 | end | |
59 | end |