]>
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 |
028bb2d0 | 8 | release = 2 |
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 | |
6f4f6004 | 25 | perl(FindBin) |
6af1d2c6 SS |
26 | perl(ExtUtils::MakeMaker) |
27 | perl(ExtUtils::ParseXS) | |
28 | perl(Carp) | |
29 | perl(common::sense) | |
6f4f6004 | 30 | perl(Test::More) |
6af1d2c6 SS |
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 | ||
a5a2c5e4 SS |
42 | make_install_targets = \ |
43 | pure_install DESTDIR=%{BUILDROOT} | |
6af1d2c6 SS |
44 | |
45 | install_cmds | |
46 | # Remove script we don't want packaged | |
47 | rm -rvf %{BUILDROOT}%{bindir}/treescan | |
028bb2d0 SS |
48 | |
49 | # Set correct library permissions. | |
50 | find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ | |
51 | -exec chmod 755 {} \; | |
6af1d2c6 SS |
52 | end |
53 | end | |
54 | ||
55 | packages | |
56 | package %{name} | |
57 | requires | |
a5a2c5e4 | 58 | perl(:MODULE_COMPAT_%{perl_version}) |
6af1d2c6 SS |
59 | end |
60 | end | |
61 | ||
62 | package %{name}-debuginfo | |
63 | template DEBUGINFO | |
64 | end | |
65 | end |