SPECS: crossmingw32-boost.spec - up to 1.33.1 - added BR for libbo...
lkrotowski
lkrotowski at pld-linux.org
Thu Feb 15 03:14:03 CET 2007
Author: lkrotowski Date: Thu Feb 15 02:14:03 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 1.33.1
- added BR for libboost_iostreams
- fixed static-only libboost_wave build
- adapterized
---- Files affected:
SPECS:
crossmingw32-boost.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/crossmingw32-boost.spec
diff -u SPECS/crossmingw32-boost.spec:1.3 SPECS/crossmingw32-boost.spec:1.4
--- SPECS/crossmingw32-boost.spec:1.3 Mon Feb 12 22:23:51 2007
+++ SPECS/crossmingw32-boost.spec Thu Feb 15 03:13:58 2007
@@ -3,22 +3,26 @@
Summary: The Boost C++ Libraries - Mingw32 cross version
Summary(pl.UTF-8): Biblioteki C++ "Boost" - wersja skrośna dla Mingw32
Name: crossmingw32-%{realname}
-Version: 1.32.0
+Version: 1.33.1
%define _fver %(echo %{version} | tr . _)
Release: 1
License: Boost Software License and others
Group: Libraries
Source0: http://dl.sourceforge.net/boost/%{realname}_%{_fver}.tar.bz2
-# Source0-md5: e1d1fc7b8fc8c51df4564c2188ca51cb
+# Source0-md5: 2b999b2fb7798e1737d1fff8fac602ef
Patch0: %{name}-win.patch
URL: http://www.boost.org/
-Requires: crossmingw32-runtime
+BuildRequires: boost-jam
+BuildRequires: crossmingw32-bzip2
BuildRequires: crossmingw32-gcc-c++
BuildRequires: crossmingw32-runtime
BuildRequires: crossmingw32-w32api
-BuildRequires: boost-jam
+BuildRequires: crossmingw32-zlib
BuildRequires: libtool >= 2:1.4d
BuildRequires: perl-base
+Requires: crossmingw32-bzip2
+Requires: crossmingw32-runtime
+Requires: crossmingw32-zlib
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define no_install_post_strip 1
@@ -113,7 +117,7 @@
for i in *
do
cd $i/*
- lib=`echo lib*so|sed -e 's/\.so//'`
+ lib=`echo lib*.a|sed -e 's/\.a//'`
blib=`echo $lib|sed -e 's/^lib//'`
cd $lib.a
@@ -122,14 +126,24 @@
$RANLIB ../../../../../../wlib/$lib.a
cd ..
- cd $lib.so
- find -type f -exec mv \{\} . \;
- %{__cxx} --shared *\.o \
- -Wl,--enable-auto-image-base \
- -o ../../../../../../wlib/$blib.dll \
- -Wl,--out-implib,$lib.dll.a
- mv $lib.dll.a ../../../../../../wlib/
- cd ..
+ # libboost_iostreams requires additional
+ # libraries
+ additional_so_params=
+ if [ $lib -eq "libboost_iostreams" ]; then
+ additional_so_params="-lz.dll -lbzip2.dll"
+ fi
+
+ # libboost_wave is static-only
+ if [ -d $lib.so ]; then
+ cd $lib.so
+ find -type f -exec mv \{\} . \;
+ %{__cxx} --shared *\.o $additional_so_params \
+ -Wl,--enable-auto-image-base \
+ -o ../../../../../../wlib/$blib.dll \
+ -Wl,--out-implib,$lib.dll.a
+ mv $lib.dll.a ../../../../../../wlib/
+ cd ..
+ fi
cd ../..
done
@@ -167,6 +181,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2007/02/15 02:13:58 lkrotowski
+- up to 1.33.1
+- added BR for libboost_iostreams
+- fixed static-only libboost_wave build
+- adapterized
+
Revision 1.3 2007/02/12 21:23:51 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/crossmingw32-boost.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list