1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 version = %{ver_major}.%{ver_minor}.%{ver_plevel}
13 groups = System/Libraries
14 url = https://www.boost.org/
16 summary = The Boost C++ Libraries.
19 Boost provides free peer-reviewed portable C++ source libraries. The
20 emphasis is on libraries which work well with the C++ Standard
21 Library, in the hopes of establishing existing practice for
22 extensions and providing reference implementations so that the Boost
23 libraries are suitable for eventual standardization.
26 thisapp = %{name}_%{ver_major}_%{ver_minor}_%{ver_plevel}
28 source_dl = https://sourceforge.net/projects/boost/files/%{name}/%{version}/
41 # Obtain python3 abiflags.
42 python3_abiflags = %(python3-config --abiflags)
44 CFLAGS += -I/usr/include/python%{python3_version}%{python3_abiflags}
45 CXXFLAGS += -I/usr/include/python%{python3_version}%{python3_abiflags}
52 cxxflags="%{CXXFLAGS}" \
53 linkflags="%{LDFLAGS}" \
59 python=%{python3_version} \
64 mkdir -pv %{DIR_APP}/serial
66 # Bootstrap build environment.
67 ./bootstrap.sh --with-toolset=gcc --with-icu \
68 --with-python=%{python3}
71 echo "using mpi ;" >> project-config.jam
76 ./b2 -d+2 -q %{PARALLELISMFLAGS} %{configure_options} stage
81 ./b2 %{PARALLELISMFLAGS} %{configure_options} install \
82 --prefix=%{BUILDROOT}%{prefix} \
83 --libdir=%{BUILDROOT}%{libdir}
90 boost-chrono = %{thisver}
91 boost-context = %{thisver}
92 boost-date-time = %{thisver}
93 boost-filesystem = %{thisver}
94 boost-graph = %{thisver}
95 boost-iostreams = %{thisver}
96 boost-locale = %{thisver}
97 boost-math = %{thisver}
98 boost-program-options = %{thisver}
99 boost-python3 = %{thisver}
100 boost-random = %{thisver}
101 boost-regex = %{thisver}
102 boost-serialization = %{thisver}
103 boost-system = %{thisver}
104 boost-test = %{thisver}
105 boost-thread = %{thisver}
106 boost-timer = %{thisver}
107 boost-wave = %{thisver}
111 package %{name}-chrono
112 summary = Run-Time component of boost chrono library.
114 Run-Time support for Boost.Chrono, a set of useful time utilities.
118 %{libdir}/libboost_chrono*.so.*
122 package %{name}-context
123 summary = Run-Time component of boost context library.
125 A foundational library that provides a sort of cooperative multitasking
130 %{libdir}/libboost_context*.so.*
134 package %{name}-date-time
135 summary = Run-Time component of boost date-time library.
137 Run-Time support for Boost Date Time, set of date-time libraries based
138 on generic programming concepts.
142 %{libdir}/libboost_date_time*.so.*
146 package %{name}-filesystem
147 summary = Run-Time component of boost filesystem library.
149 Run-Time support for the Boost Filesystem Library, which provides
150 portable facilities to query and manipulate paths, files, and
155 %{libdir}/libboost_filesystem*.so.*
159 package %{name}-graph
160 summary = Run-Time component of boost graph library.
162 Run-Time support for the BGL graph library. BGL interface and graph
163 components are generic, in the same sense as the the Standard Template
168 %{libdir}/libboost_graph*.so.*
172 package %{name}-iostreams
173 summary = Run-Time component of boost iostreams library.
175 Run-Time support for Boost.IOStreams, a framework for defining streams,
176 stream buffers and i/o filters.
180 %{libdir}/libboost_iostreams*.so.*
184 package %{name}-locale
185 summary = Run-Time component of boost locale library.
187 Run-Time support for Boost.Locale, a set of localization and Unicode
192 %{libdir}/libboost_locale*.so.*
197 summary = Math functions for boost TR1 library.
199 Run-Time support for C99 and C++ TR1 C-style Functions from math
200 portion of Boost.TR1.
204 %{libdir}/libboost_math*.so.*
208 package %{name}-program-options
209 summary = Run-Time component of boost program_options library.
211 Run-Time support of boost program options library, which allows program
212 developers to obtain (name, value) pairs from the user, via
213 conventional methods such as command line and configuration file.
217 %{libdir}/libboost_program_options*.so.*
221 package %{name}-python3
222 summary = Run-Time component of boost python library for Python 3.
224 The Boost Python Library is a framework for interfacing Python and
225 C++. It allows you to quickly and seamlessly expose C++ classes
226 functions and objects to Python, and vice versa, using no special
227 tools -- just your C++ compiler. This package contains run-time
228 support for Boost Python Library compiled for Python 3.
232 %{libdir}/libboost_python3*.so.*
236 package %{name}-random
237 summary = Run-Time component of boost random library.
239 Run-Time support for boost random library.
243 %{libdir}/libboost_random*.so.*
247 package %{name}-regex
248 summary = Run-Time component of boost regular expression library.
250 Run-Time support for boost regular expression library.
254 %{libdir}/libboost_regex*.so.*
258 package %{name}-serialization
259 summary = Run-Time component of boost serialization library.
261 Run-Time support for serialization for persistence and marshaling.
265 %{libdir}/libboost_serialization*.so.*
266 %{libdir}/libboost_wserialization*so.*
270 package %{name}-system
271 summary = Run-Time component of boost system support library.
273 Run-Time component of Boost operating system support library, including
274 the diagnostics support that will be part of the C++0x standard
279 %{libdir}/libboost_system*.so.*
284 summary = Run-Time component of boost test library.
286 Run-Time support for simple program testing, full unit testing, and for
287 program execution monitoring.
291 %{libdir}/libboost_prg_exec_monitor*.so.*
292 %{libdir}/libboost_unit_test_framework*.so.*
296 package %{name}-thread
297 summary = Run-Time component of boost thread library.
299 Run-Time component Boost.Thread library, which provides classes and
300 functions for managing multiple threads of execution, and for
301 synchronizing data between the threads or providing separate copies of
302 data specific to individual threads.
306 %{libdir}/libboost_thread*.so.*
310 package %{name}-timer
311 summary = Run-Time component of boost timer library.
313 "How long does my C++ code take to run?"
314 The Boost Timer library answers that question and does so portably,
315 with as little as one #include and one additional line of code.
319 %{libdir}/libboost_timer*.so.*
324 summary = Run-Time component of boost C99/C++ pre-processing library.
326 Run-Time support for the Boost.Wave library, a Standards conforming,
327 and highly configurable implementation of the mandated C99/C++
328 pre-processor functionality.
332 %{libdir}/libboost_wave*.so.*
336 package %{name}-devel
339 requires = %{name} = %{thisver}
342 package %{name}-debuginfo