]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - gc/gc.nm
glib2: Update to 2.39.4.
[people/ms/ipfire-3.x.git] / gc / gc.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = gc
7 version = %{major_ver}d
8 major_ver = 7.2
9 release = 2
10
11 groups = System/Libraries
12 url = http://www.hpl.hp.com/personal/Hans_Boehm/gc/
13 license = BSD
14 summary = A garbage collector for C and C++.
15
16 description
17 The Boehm-Demers-Weiser conservative garbage collector can be
18 used as a garbage collecting replacement for C malloc or C++ new.
19 end
20
21 source_dl = http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
22
23 build
24 requires
25 autoconf
26 automake
27 libtool
28 end
29
30 DIR_APP = %{DIR_SRC}/%{name}-%{major_ver}
31
32 # bugzilla.redhat.com/689877
33 export CPPFLAGS = -DUSE_GET_STACKBASE_FOR_MAIN
34
35 prepare_cmds
36 rm -f libtool libtool.m4
37 autoreconf -vfi
38 end
39
40 configure_options += \
41 --disable-static \
42 --enable-cplusplus \
43 --enable-large-config \
44 --enable-threads=posix \
45 --with-libatomic-ops=no
46
47 if "%{DISTRO_PLATFORM}" == "x86"
48 configure_options += --enable-parallel-mark
49 end
50
51 test
52 # Disabled because gctest hangs forever.
53 #make check
54 end
55
56 install_cmds
57 rm -rvf %{BUILDROOT}%{datadir}/gc
58 end
59 end
60
61 packages
62 package %{name}
63
64 package %{name}-devel
65 template DEVEL
66 end
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
71 end