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