]> git.ipfire.org Git - ipfire-3.x.git/blame - perl-BDB/perl-BDB.nm
perl-BDB: Fix library permissions
[ipfire-3.x.git] / perl-BDB / perl-BDB.nm
CommitLineData
31c73eed
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-BDB
14baf792 7version = 1.91
3e98b462 8release = 2
31c73eed
SS
9thisapp = BDB-%{version}
10
11groups = Development/Libraries
12url = http://search.cpan.org/dist/BDB/
13license = GPL+ or Artistic
14summary = Asynchronous Berkeley DB access.
15
16description
17 Asynchronous Berkeley DB access.
18end
19
20source_dl = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
21
22build
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
47end
48
49packages
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
59end