]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - 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
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
b1bb8428 8release = 2
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
802ea3af
MT
40 test
41 make check
42 end
43end
44
45packages
46 package %{name}
b1bb8428 47
802ea3af
MT
48 package %{name}-devel
49 template DEVEL
50 end
51end