]>
Commit | Line | Data |
---|---|---|
8b63a194 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
8b63a194 | 4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = pth |
7 | version = 2.0.7 | |
24d6e243 | 8 | release = 3 |
8b63a194 | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.gnu.org/software/pth | |
12 | license = GPLv3+ | |
13 | summary = GNU Pth - The GNU Portable Threads. | |
8b63a194 | 14 | |
802ea3af | 15 | description |
8b63a194 | 16 | The Pth package contains a very portable POSIX/ANSI-C based library for \ |
17 | Unix platforms which provides non-preemptive priority-based scheduling for \ | |
18 | multiple threads of execution (multithreading) inside event-driven \ | |
19 | applications. | |
802ea3af MT |
20 | end |
21 | ||
b1bb8428 | 22 | source_dl = ftp://ftp.gnu.org/gnu/pth/ |
802ea3af MT |
23 | |
24 | build | |
25 | requires | |
26 | libtool | |
27 | end | |
28 | ||
802ea3af MT |
29 | configure_options += \ |
30 | --disable-static \ | |
31 | --mandir=/usr/share/man | |
32 | ||
b1bb8428 AF |
33 | if "%{DISTRO_ARCH}" == "armv5tel" |
34 | configure_options += \ | |
35 | --with-mctx-mth=sjlj \ | |
36 | --with-mctx-dsp=ssjlj \ | |
37 | --with-mctx-stk=sas | |
38 | end | |
39 | ||
24d6e243 MT |
40 | if "%{DISTRO_ARCH}" == "armv7hl" |
41 | configure_options += \ | |
42 | --with-mctx-mth=sjlj \ | |
43 | --with-mctx-dsp=ssjlj \ | |
44 | --with-mctx-stk=sas | |
45 | end | |
46 | ||
802ea3af MT |
47 | test |
48 | make check | |
49 | end | |
50 | end | |
51 | ||
52 | packages | |
53 | package %{name} | |
b1bb8428 | 54 | |
802ea3af MT |
55 | package %{name}-devel |
56 | template DEVEL | |
57 | end | |
1f9bc2f0 MT |
58 | |
59 | package %{name}-debuginfo | |
60 | template DEBUGINFO | |
61 | end | |
802ea3af | 62 | end |