]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pth/pth.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[people/amarx/ipfire-3.x.git] / pth / pth.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = pth
7 version = 2.0.7
8 release = 2
9
10 groups = System/Libraries
11 url = http://www.gnu.org/software/pth
12 license = GPLv3+
13 summary = GNU Pth - The GNU Portable Threads.
14
15 description
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.
20 end
21
22 source_dl = ftp://ftp.gnu.org/gnu/pth/
23
24 build
25 requires
26 libtool
27 end
28
29 configure_options += \
30 --disable-static \
31 --mandir=/usr/share/man
32
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
40 test
41 make check
42 end
43 end
44
45 packages
46 package %{name}
47
48 package %{name}-devel
49 template DEVEL
50 end
51
52 package %{name}-debuginfo
53 template DEBUGINFO
54 end
55 end