|
|
@@ -28,51 +28,46 @@
|
|
|
|
|
|
# package information
|
|
|
Name: boost
|
|
|
-Summary: Peer Reviewed Portable C++ Libraries
|
|
|
+Summary: Peer-Reviewed Portable C++ Libraries
|
|
|
URL: http://www.boost.org/
|
|
|
-Vendor: Boost community
|
|
|
+Vendor: Boost Community
|
|
|
Packager: OpenPKG
|
|
|
Distribution: OpenPKG
|
|
|
Class: EVAL
|
|
|
Group: Language
|
|
|
License: Boost Software License
|
|
|
Version: %{V_openpkg}
|
|
|
-Release: 20050823
|
|
|
+Release: 20051006
|
|
|
|
|
|
# package options
|
|
|
%option with_debug yes
|
|
|
%option with_optimize yes
|
|
|
%option with_threads yes
|
|
|
-%option with_python no
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://osdn.dl.sourceforge.net/boost/boost_%{V_dist}.tar.bz2
|
|
|
Patch0: boost.patch
|
|
|
-Patch1: boost.patch.nopython
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20040130, gcc
|
|
|
-PreReq: OpenPKG, openpkg >= 20040130, gcc
|
|
|
-%if "%{with_python}" == "yes"
|
|
|
-BuildPreReq: python
|
|
|
-PreReq: python
|
|
|
-%endif
|
|
|
+PreReq: OpenPKG, openpkg >= 20040130
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
%description
|
|
|
- Boost provides peer reviewed portable C++ source libraries, placing
|
|
|
- emphasis on libraries which work well with the C++ Standard Library.
|
|
|
- The libraries are intended to be widely useful, and are in regular
|
|
|
- use by thousands of programmers across a broad spectrum of applications.
|
|
|
-
|
|
|
- Aiming to provide missing functionality in current standards, Boost was
|
|
|
- begun by members of the C++ Standards Committee Library Working Group.
|
|
|
- Today, logic from a subset of the boost collection is under review by
|
|
|
- the ISO C++ Standards Committee and considered for inclusion in its
|
|
|
- future standards documents.
|
|
|
+ Boost provides peer-reviewed portable C++ class libraries, placing
|
|
|
+ emphasis on libraries which work well with the C++ Standard
|
|
|
+ Library. The libraries are intended to be widely useful, and are in
|
|
|
+ regular use by thousands of programmers across a broad spectrum of
|
|
|
+ applications.
|
|
|
+
|
|
|
+ Aiming to provide missing functionality in current standards,
|
|
|
+ Boost was begun by members of the C++ Standards Committee Library
|
|
|
+ Working Group. Today, logic from a subset of the boost collection is
|
|
|
+ under review by the ISO C++ Standards Committee and considered for
|
|
|
+ inclusion in its future standards documents.
|
|
|
|
|
|
%track
|
|
|
prog boost = {
|
|
|
@@ -84,27 +79,20 @@ AutoReqProv: no
|
|
|
%prep
|
|
|
%setup -q -n boost_%{V_dist}
|
|
|
%patch -p0
|
|
|
+ rm -rf \
|
|
|
+ libs/python \
|
|
|
+ boost/python* \
|
|
|
+ tools/build/v1/python.jam
|
|
|
|
|
|
- # acommodate platforms missing wide character support
|
|
|
+ # accommodate platforms missing wide character support
|
|
|
case "%{l_platform -t}" in
|
|
|
- *-freebsd* )
|
|
|
+ *-freebsd4* )
|
|
|
%{l_shtool} subst \
|
|
|
-e 's;.*<lib>boost_wserialization.*;;' \
|
|
|
libs/serialization/build/Jamfile
|
|
|
;;
|
|
|
esac
|
|
|
|
|
|
- # acommodate python conditional stupid logic
|
|
|
-%if "%{with_python}" == "yes"
|
|
|
- :
|
|
|
-%else
|
|
|
- %patch -p0 -P 1
|
|
|
- rm -rf \
|
|
|
- libs/python \
|
|
|
- boost/python* \
|
|
|
- tools/build/v1/python.jam
|
|
|
-%endif
|
|
|
-
|
|
|
%build
|
|
|
# bootstrap bjam(1), the boost build system
|
|
|
( cd tools/build/jam_src
|
|
|
@@ -129,9 +117,8 @@ AutoReqProv: no
|
|
|
threadopts="<threading>single/multi"
|
|
|
%endif
|
|
|
|
|
|
- # build all libraries with python bindings if so configured
|
|
|
- PYTHON_ROOT=%{l_prefix} PYTHON_VERSION= \
|
|
|
- ./bjam --builddir=obj -sBUILD="$debugopts $optimizeopts $threadopts" stage
|
|
|
+ # build all libraries
|
|
|
+ ./bjam --builddir=obj -sBUILD="$debugopts $optimizeopts $threadopts" stage
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|