]>
Commit | Line | Data |
---|---|---|
6af1d2c6 SS |
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 | |
a5a2c5e4 | 7 | version = 4.32 |
1d0547dc | 8 | release = 1.1 |
6af1d2c6 SS |
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(ExtUtils::MakeMaker) | |
26 | perl(ExtUtils::ParseXS) | |
27 | perl(Carp) | |
28 | perl(common::sense) | |
1d0547dc | 29 | pakfire >= 0.9.26-3.1 |
6af1d2c6 SS |
30 | end |
31 | ||
32 | build | |
33 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
34 | make %{PARALLELISMFLAGS} | |
35 | end | |
36 | ||
37 | test | |
38 | make test | |
39 | end | |
40 | ||
a5a2c5e4 SS |
41 | make_install_targets = \ |
42 | pure_install DESTDIR=%{BUILDROOT} | |
6af1d2c6 SS |
43 | |
44 | install_cmds | |
45 | # Remove script we don't want packaged | |
46 | rm -rvf %{BUILDROOT}%{bindir}/treescan | |
47 | end | |
48 | end | |
49 | ||
50 | packages | |
51 | package %{name} | |
52 | requires | |
a5a2c5e4 | 53 | perl(:MODULE_COMPAT_%{perl_version}) |
6af1d2c6 SS |
54 | end |
55 | end | |
56 | ||
57 | package %{name}-debuginfo | |
58 | template DEBUGINFO | |
59 | end | |
60 | end |