]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - boost/boost.nm
5505a904fd2562f452e378d05994e8f227a7383c
[people/ms/ipfire-3.x.git] / boost / boost.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = boost
7 version = 1.41.0
8 release = 2
9
10 groups = System/Libraries
11 url = http://www.boost.org/
12 license = Boost
13 summary = The Boost C++ Libraries.
14
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
20 libraries are suitable for eventual standardization.
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 \
53 -DBOOST_LIB_INSTALL_DIR=%{libdir} \
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.
63 rm -f %{BUILDROOT}%{libdir}/*-d.*
64
65 # Remove cmake configuration files used to build the Boost libraries
66 find %{BUILDROOT}%{libdir} -name '*.cmake' -exec rm -f {} \;
67 end
68 end
69
70 packages
71 package %{name}
72
73 package %{name}-devel
74 template DEVEL
75 end
76
77 package %{name}-debuginfo
78 template DEBUGINFO
79 end
80 end