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