]>
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 |
6af1d2c6 SS |
8 | release = 1 |
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) | |
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 | |
47 | end | |
48 | ||
49 | packages | |
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 | |
59 | end |