]>
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 | |
7 | version = 4.15 | |
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 | ||
40 | make_install_targets = pure_install DESTDIR=%{BUILDROOT} | |
41 | ||
42 | install_cmds | |
43 | # Remove script we don't want packaged | |
44 | rm -rvf %{BUILDROOT}%{bindir}/treescan | |
45 | end | |
46 | end | |
47 | ||
48 | packages | |
49 | package %{name} | |
50 | requires | |
51 | perl | |
52 | end | |
53 | end | |
54 | ||
55 | package %{name}-debuginfo | |
56 | template DEBUGINFO | |
57 | end | |
58 | end |