]>
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 | |
7 | version = 1.9 | |
8 | release = 1 | |
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 | ||
39 | make_install_targets = pure_install DESTDIR=%{BUILDROOT} | |
40 | end | |
41 | ||
42 | packages | |
43 | package %{name} | |
44 | requires | |
45 | perl | |
46 | end | |
47 | end | |
48 | ||
49 | package %{name}-debuginfo | |
50 | template DEBUGINFO | |
51 | end | |
52 | end |