]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - perl-Coro/perl-Coro.nm
Merge remote-tracking branch 'arne_f/autoconf'
[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
7version = 6.08
8release = 1
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)
29 end
30
31 prepare_cmds
32 # Fix bad path for perl interpreter.
33 for F in Coro/jit-*.pl; do
34 sed -i -e '/^#!/d' "$F"
35 done
36 end
37
38 build
39 perl Makefile.PL INSTALLDIRS=perl OPTIMIZE="%{CFLAGS}"
40 make %{PARALLELISMFLAGS}
41 end
42
43 make_install_targets = pure_install DESTDIR=%{BUILDROOT}
44end
45
46packages
47 package %{name}
48 filter_requires
49 AnyEvent
50 EV
51 Event
52 Guard
53 Storable
54 Coro
55 end
56
57 requires
58 perl
59 end
60 end
61
62 package %{name}-debuginfo
63 template DEBUGINFO
64 end
65end