Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c18bae909bf3ee8b127f889e335195327346b89b

commit c18bae909bf3ee8b127f889e335195327346b89b
Author: crazy <[EMAIL PROTECTED]>
Date:   Sat Dec 8 19:41:14 2007 +0100

boost-1.34.1-1-i686
* Version bump
* removed all old patches
* split all libs in own packages
* new maintainer , Ok @ krix

diff --git a/source/devel-extra/boost/FrugalBuild 
b/source/devel-extra/boost/FrugalBuild
index 12feb26..91599b0 100644
--- a/source/devel-extra/boost/FrugalBuild
+++ b/source/devel-extra/boost/FrugalBuild
@@ -1,25 +1,31 @@
# Compiling Time: 2.33 SBU
-# Maintainer: Christian Hamar alias krix <[EMAIL PROTECTED]>
+# Maintainer: crazy <[EMAIL PROTECTED]>
+# Contributor: Christian Hamar alias krix <[EMAIL PROTECTED]>

pkgname=boost
-pkgver=1.34.0
-pkgrel=5
-pkgdesc="Boost Libraries for C++"
+pkgver=1.34.1
+pkgrel=1
+pkgdesc="Boost header files , examples and tools"
_F_sourceforge_ext=".tar.bz2"
Finclude sourceforge python
url="http://boost.org/";
-depends=('libstdc++' 'python' 'icu>=3.8' 'bzip2' 'zlib')
-makedepends=('boost-jam')
+depends=()
+makedepends=('boost-jam>=3.1.16' 'python' 'icu>=3.8' 'bzip2' 'zlib')
groups=('devel-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://sourceforge.net/project/showfiles.php?group_id=7586 
| grep 'Latest.*Notes' | sed -n 's/.*\]\([0-9\.]\+\) \[.*/\1/;1 p'"
-source=(${source/-$pkgver/_${pkgver//./_}} no_version_for_include_kthx.patch \
-       boostjam_x86_64.patch gcc42_atomicity_h.patch)
+source=(${source/-$pkgver/_${pkgver//./_}})
_F_cd_path="${pkgname}_`echo $pkgver|tr . _`"
-sha1sums=('d2fdb4535a13566917fe3d8377b017f094933641'\
-          'ed54f5fe28c801e240fa87f3641de1b1184dfe20'\
-          'f183bdd5970e67ac2d9062ec1834eb22233ede03'\
-          '4885396af53aa6a959cd6adb92d826acfa204d5a')
+sha1sums=('b771271d5cbd3bdb0f119dd66dfd36bad7a66866')
+
+subpkgs=("libboost" "libboost-mt" "libboost-static" "libboost-mt-static")
+subdescs=('Boost libraries.' 'Boost libraries with multithreading support.' \
+         'Boost libraries statically linked.' 'Boost libraries with 
multithreading support statically linked.')
+subdepends=('icu libgcc bzip2 zlib' \
+           'icu libgcc bzip2 zlib' \
+           '' '')
+subgroups=('devel-extra' 'devel-extra' 'devel-extra' 'devel-extra')
+subarchs=('i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64')

build()
{
@@ -27,7 +33,7 @@ build()
Fpatchall
Fsed "-O3" "$CXXFLAGS -fno-strict-aliasing" tools/build/v2/tools/gcc.jam
BOOSTJAM="/usr/bin/bjam"
-       OPTIONS="release debug-symbols=off optimization=speed 
threading=single,multi -d2"
+       OPTIONS="release debug-symbols=off optimization=speed 
threading=single,multi -d+2"
JOBS="$MAKEFLAGS"

${BOOSTJAM} \
@@ -41,7 +47,8 @@ build()
--exec-prefix="$Fdestdir/usr" \
--includedir="$Fdestdir/usr/include" \
--libdir="$Fdestdir/usr/lib" \
-               --toolset=gcc stage || Fdie
+               --toolset=gcc \
+               --layout=system || Fdie

${BOOSTJAM} \
${JOBS} \
@@ -54,11 +61,20 @@ build()
--exec-prefix="$Fdestdir/usr" \
--includedir="$Fdestdir/usr/include" \
--libdir="$Fdestdir/usr/lib" \
-               --toolset=gcc install || Fdie
+               --toolset=gcc \
+               --layout=system install || Fdie

cd $Fsrcdir/$_F_cd_path/tools/build/
Fmkdir usr/share/boost
-       cp -a b* index.html  v2/ $Fdestdir/usr/share/boost/
+       rm -rf v2/debian || Fdie
+       cp -a b* index.html  v2/ $Fdestdir/usr/share/boost/ || Fdie
+
+       Fsplit libboost-mt usr/lib/libboost_*-mt.so
+       Fsplit libboost-mt-static  usr/lib/libboost_*-mt.a
+
+       Fsplit libboost usr/lib/libboost_*.so
+       Fsplit libboost-static usr/lib/libboost_*.a
+
}

# optimization OK
diff --git a/source/devel-extra/boost/boostjam_x86_64.patch 
b/source/devel-extra/boost/boostjam_x86_64.patch
deleted file mode 100644
index 46c0fa4..0000000
--- a/source/devel-extra/boost/boostjam_x86_64.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur boost_1_34_0.orig/tools/jam/src/jam.h 
boost_1_34_0/tools/jam/src/jam.h
---- boost_1_34_0.orig/tools/jam/src/jam.h      2007-05-25 13:34:42.000000000 
+0200
-+++ boost_1_34_0/tools/jam/src/jam.h   2007-05-25 13:35:11.000000000 +0200
-@@ -480,6 +480,10 @@
- # define OSPLAT "OSPLAT=IA64"
- # endif
-
-+# if defined( __x86_64__ )
-+# define OSPLAT "OSPLAT=x86_64"
-+# endif
-+
- # ifdef __s390__
- # define OSPLAT "OSPLAT=390"
- # endif
diff --git a/source/devel-extra/boost/gcc42_atomicity_h.patch 
b/source/devel-extra/boost/gcc42_atomicity_h.patch
deleted file mode 100644
index 01408c4..0000000
--- a/source/devel-extra/boost/gcc42_atomicity_h.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Naur boost_1_34_0.orig/boost/detail/atomic_count_gcc.hpp 
boost_1_34_0/boost/detail/atomic_count_gcc.hpp
---- boost_1_34_0.orig/boost/detail/atomic_count_gcc.hpp        2007-05-26 
14:18:17.000000000 +0200
-+++ boost_1_34_0/boost/detail/atomic_count_gcc.hpp     2007-05-26 
14:19:26.000000000 +0200
-@@ -17,7 +17,15 @@
- //  http://www.boost.org/LICENSE_1_0.txt)
- //
-
--#include <bits/atomicity.h>
-+#define GCC_VERSION (__GNUC__ * 10000 \
-+                   + __GNUC_MINOR__ * 100 \
-+                   + __GNUC_PATCHLEVEL__)
-+
-+#if GCC_VERSION >= 40200
-+ #include <ext/atomicity.h>
-+#else
-+ #include <bits/atomicity.h>
-+#endif
-
- namespace boost
- {
diff --git a/source/devel-extra/boost/no_version_for_include_kthx.patch 
b/source/devel-extra/boost/no_version_for_include_kthx.patch
deleted file mode 100644
index 4d74ab2..0000000
--- a/source/devel-extra/boost/no_version_for_include_kthx.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur boost_1_34_0/Jamfile.v2 boost_1_34_0-p/Jamfile.v2
---- boost_1_34_0/Jamfile.v2    2007-05-11 05:40:34.000000000 +0200
-+++ boost_1_34_0-p/Jamfile.v2  2007-05-13 19:13:52.000000000 +0200
-@@ -312,7 +312,7 @@
-     ;
- if $(layout-versioned)
- {
--    install-requirements += 
<install-header-subdir>boost-$(BOOST_VERSION_TAG)/boost ;
-+    install-requirements += <install-header-subdir>boost ;
- }
- else
- {
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to