1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Libraries
11 url = http://www.boost.org/
13 summary = The Boost C++ Libraries.
16 Boost provides free peer-reviewed portable C++ source libraries. The
17 emphasis is on libraries which work well with the C++ Standard
18 Library, in the hopes of establishing existing practice for
19 extensions and providing reference implementations so that the Boost
20 libraries are suitable for eventual standardization.
23 source_dl = # Cannot find the cmake file.
24 sources = %{thisapp}.cmake0.tar.gz
26 CFLAGS += -fno-strict-aliasing
27 CXXFLAGS += -fno-strict-aliasing
29 DIR_APP = %{DIR_SRC}/%{thisapp}.cmake0
39 mkdir -pv %{DIR_APP}/serial
43 cd %{DIR_APP}/serial && \
45 -DCMAKE_INSTALL_PREFIX=/usr \
46 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
47 -DBUILD_TESTS="NONE" \
48 -DENABLE_SINGLE_THREADED=YES \
49 -DINSTALL_VERSIONED=OFF \
53 -DBOOST_LIB_INSTALL_DIR=%{libdir} \
56 make VERBOSE=1 #%{PARALLELISMFLAGS}
60 cd %{DIR_APP}/serial && make install DESTDIR=%{BUILDROOT}
62 # Kill any debug library versions that may show up un-invited.
63 rm -f %{BUILDROOT}%{libdir}/*-d.*
65 # Remove cmake configuration files used to build the Boost libraries
66 find %{BUILDROOT}%{libdir} -name '*.cmake' -exec rm -f {} \;
77 package %{name}-debuginfo