]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pth/pth.nm
u-boot: Update to 2013.07rc2.
[people/ms/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 = 3
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 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
47 test
48 make check
49 end
50 end
51
52 packages
53 package %{name}
54
55 package %{name}-devel
56 template DEVEL
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
62 end