]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - boost/boost.nm
Merge remote-tracking branch 'maniacikarus/samba'
[people/ms/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
8release = 1
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 \
53 ..
54
55 make VERBOSE=1 #%{PARALLELISMFLAGS}
56 end
57
58 install
59 cd %{DIR_APP}/serial && make install DESTDIR=%{BUILDROOT}
60
61 # Kill any debug library versions that may show up un-invited.
62 rm -f %{BUILDROOT}/usr/lib/*-d.*
63
64 # Remove cmake configuration files used to build the Boost libraries
65 find %{BUILDROOT}/usr/lib -name '*.cmake' -exec rm -f {} \;
66 end
67end
68
69packages
70 package %{name}
71 end
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