]> git.ipfire.org Git - ipfire-3.x.git/blame - pth/pth.nm
binutils: Update to 2.32
[ipfire-3.x.git] / pth / pth.nm
CommitLineData
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
6name = pth
7version = 2.0.7
24d6e243 8release = 3
8b63a194 9
802ea3af
MT
10groups = System/Libraries
11url = http://www.gnu.org/software/pth
12license = GPLv3+
13summary = GNU Pth - The GNU Portable Threads.
8b63a194 14
802ea3af 15description
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
20end
21
b1bb8428 22source_dl = ftp://ftp.gnu.org/gnu/pth/
802ea3af
MT
23
24build
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
50end
51
52packages
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 62end