]>
Commit | Line | Data |
---|---|---|
e5ea083d | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
e5ea083d MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = boost |
7 | version = 1.41.0 | |
5b0a6957 | 8 | release = 2 |
e5ea083d | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.boost.org/ | |
12 | license = Boost | |
13 | summary = The Boost C++ Libraries. | |
e5ea083d | 14 | |
802ea3af MT |
15 | description |
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 | |
8c893619 | 20 | libraries are suitable for eventual standardization. |
802ea3af MT |
21 | end |
22 | ||
23 | source_dl = # Cannot find the cmake file. | |
24 | sources = %{thisapp}.cmake0.tar.gz | |
25 | ||
26 | CFLAGS += -fno-strict-aliasing | |
27 | CXXFLAGS += -fno-strict-aliasing | |
28 | ||
29 | DIR_APP = %{DIR_SRC}/%{thisapp}.cmake0 | |
30 | ||
31 | build | |
32 | requires | |
33 | cmake | |
34 | gcc-c++ | |
35 | zlib-devel | |
36 | end | |
37 | ||
38 | prepare_cmds | |
39 | mkdir -pv %{DIR_APP}/serial | |
40 | end | |
41 | ||
42 | build | |
43 | cd %{DIR_APP}/serial && \ | |
44 | cmake \ | |
45 | -DCMAKE_INSTALL_PREFIX=/usr \ | |
46 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | |
47 | -DBUILD_TESTS="NONE" \ | |
48 | -DENABLE_SINGLE_THREADED=YES \ | |
49 | -DINSTALL_VERSIONED=OFF \ | |
50 | -DWITH_MPI=OFF \ | |
51 | -DENABLE_STATIC=OFF \ | |
52 | -DENABLE_DEBUG=OFF \ | |
5b0a6957 | 53 | -DBOOST_LIB_INSTALL_DIR=%{libdir} \ |
802ea3af MT |
54 | .. |
55 | ||
56 | make VERBOSE=1 #%{PARALLELISMFLAGS} | |
57 | end | |
58 | ||
59 | install | |
60 | cd %{DIR_APP}/serial && make install DESTDIR=%{BUILDROOT} | |
61 | ||
62 | # Kill any debug library versions that may show up un-invited. | |
5b0a6957 | 63 | rm -f %{BUILDROOT}%{libdir}/*-d.* |
802ea3af MT |
64 | |
65 | # Remove cmake configuration files used to build the Boost libraries | |
5b0a6957 | 66 | find %{BUILDROOT}%{libdir} -name '*.cmake' -exec rm -f {} \; |
802ea3af MT |
67 | end |
68 | end | |
69 | ||
70 | packages | |
71 | package %{name} | |
1f9bc2f0 | 72 | |
802ea3af MT |
73 | package %{name}-devel |
74 | template DEVEL | |
75 | end | |
1f9bc2f0 MT |
76 | |
77 | package %{name}-debuginfo | |
78 | template DEBUGINFO | |
79 | end | |
802ea3af | 80 | end |