]> git.ipfire.org Git - ipfire-3.x.git/blob - perl-BDB/perl-BDB.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / perl-BDB / perl-BDB.nm
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.91
8 release = 3
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 = \
40 pure_install DESTDIR=%{BUILDROOT}
41
42 install_cmds
43 # Set correct library permissions.
44 find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
45 -exec chmod 755 {} \;
46 end
47 end
48
49 packages
50 package %{name}
51 requires
52 perl(:MODULE_COMPAT_%{perl_version})
53 end
54 end
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
59 end