]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - boost/boost.nm
boost: Make package compile on x86_64.
[people/amarx/ipfire-3.x.git] / boost / boost.nm
CommitLineData
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
6name = boost
7version = 1.41.0
5b0a6957 8release = 2
e5ea083d 9
802ea3af
MT
10groups = System/Libraries
11url = http://www.boost.org/
12license = Boost
13summary = The Boost C++ Libraries.
e5ea083d 14
802ea3af
MT
15description
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
21end
22
23source_dl = # Cannot find the cmake file.
24sources = %{thisapp}.cmake0.tar.gz
25
26CFLAGS += -fno-strict-aliasing
27CXXFLAGS += -fno-strict-aliasing
28
29DIR_APP = %{DIR_SRC}/%{thisapp}.cmake0
30
31build
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
68end
69
70packages
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 80end