]> git.ipfire.org Git - ipfire-3.x.git/blame - perl-IO-AIO/perl-IO-AIO.nm
Merge remote-tracking branch 'stevee/net-tools'
[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
6af1d2c6
SS
8release = 1
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
25 perl(ExtUtils::MakeMaker)
26 perl(ExtUtils::ParseXS)
27 perl(Carp)
28 perl(common::sense)
29 end
30
31 build
32 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
33 make %{PARALLELISMFLAGS}
34 end
35
36 test
37 make test
38 end
39
a5a2c5e4
SS
40 make_install_targets = \
41 pure_install DESTDIR=%{BUILDROOT}
6af1d2c6
SS
42
43 install_cmds
44 # Remove script we don't want packaged
45 rm -rvf %{BUILDROOT}%{bindir}/treescan
46 end
47end
48
49packages
50 package %{name}
51 requires
a5a2c5e4 52 perl(:MODULE_COMPAT_%{perl_version})
6af1d2c6
SS
53 end
54 end
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
59end