]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - perl-Coro/perl-Coro.nm
Mass rebuild of perl and perl modules.
[people/amarx/ipfire-3.x.git] / perl-Coro / perl-Coro.nm
CommitLineData
ec6b91f5
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-Coro
cd2c8ff1 7version = 6.42
1d0547dc 8release = 1.1
ec6b91f5
SS
9thisapp = Coro-%{version}
10
11groups = Development/Libraries
12url = http://search.cpan.org/dist/Coro/
13license = GPL+ or Artistic
14summary = The only real threads in perl.
15
16description
17 This module collection manages continuations in general, most often in the
18 form of cooperative threads (also called coros, or simply "coro" in the
19 documentation). They are similar to kernel threads but don't (in general) run
20 in parallel at the same time even on SMP machines
21end
22
23source_dl = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
24
25build
26 requires
27 perl(ExtUtils::MakeMaker)
28 perl(ExtUtils::ParseXS)
1d0547dc 29 pakfire >= 0.9.26-3.1
ec6b91f5
SS
30 end
31
32 prepare_cmds
33 # Fix bad path for perl interpreter.
34 for F in Coro/jit-*.pl; do
35 sed -i -e '/^#!/d' "$F"
36 done
37 end
38
39 build
40 perl Makefile.PL INSTALLDIRS=perl OPTIMIZE="%{CFLAGS}"
41 make %{PARALLELISMFLAGS}
42 end
43
cd2c8ff1
SS
44 make_install_targets = \
45 pure_install DESTDIR=%{BUILDROOT}
ec6b91f5
SS
46end
47
48packages
49 package %{name}
50 filter_requires
51 AnyEvent
52 EV
53 Event
54 Guard
55 Storable
56 Coro
57 end
58
59 requires
cd2c8ff1 60 perl(:MODULE_COMPAT_%{perl_version})
ec6b91f5
SS
61 end
62 end
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
67end