]> git.ipfire.org Git - ipfire-3.x.git/blame - perl-IO-AIO/perl-IO-AIO.nm
perl-IO-AIO: Fix library permissions
[ipfire-3.x.git] / perl-IO-AIO / perl-IO-AIO.nm
CommitLineData
6af1d2c6
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-IO-AIO
a5a2c5e4 7version = 4.32
028bb2d0 8release = 2
6af1d2c6
SS
9thisapp = IO-AIO-%{version}
10
11groups = Development/Libraries
12url = http://search.cpan.org/dist/IO-AIO/
13license = GPL+ or Artistic
14summary = Perl module for Asynchronous Input/Output.
15
16description
17 This module implements asynchronous I/O using whatever means your operating
18 system supports.
19end
20
21source_dl = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
22
23build
24 requires
6f4f6004 25 perl(FindBin)
6af1d2c6
SS
26 perl(ExtUtils::MakeMaker)
27 perl(ExtUtils::ParseXS)
28 perl(Carp)
29 perl(common::sense)
6f4f6004 30 perl(Test::More)
6af1d2c6
SS
31 end
32
33 build
34 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
35 make %{PARALLELISMFLAGS}
36 end
37
38 test
39 make test
40 end
41
a5a2c5e4
SS
42 make_install_targets = \
43 pure_install DESTDIR=%{BUILDROOT}
6af1d2c6
SS
44
45 install_cmds
46 # Remove script we don't want packaged
47 rm -rvf %{BUILDROOT}%{bindir}/treescan
028bb2d0
SS
48
49 # Set correct library permissions.
50 find %{BUILDROOT}%{libdir} -type f -iname "*.so" \
51 -exec chmod 755 {} \;
6af1d2c6
SS
52 end
53end
54
55packages
56 package %{name}
57 requires
a5a2c5e4 58 perl(:MODULE_COMPAT_%{perl_version})
6af1d2c6
SS
59 end
60 end
61
62 package %{name}-debuginfo
63 template DEBUGINFO
64 end
65end