Browse Source

Daniel Jahre:


			
			
				rocklinux
			
			
		
Daniel Jahre 19 years ago
parent
commit
02e6efa923
2 changed files with 17 additions and 33 deletions
  1. +10
    -24
      package/public/boost/boost.conf
  2. +7
    -9
      package/public/boost/boost.desc

+ 10
- 24
package/public/boost/boost.conf

@ -20,30 +20,16 @@
# #
# --- ROCK-COPYRIGHT-NOTE-END --- # --- ROCK-COPYRIGHT-NOTE-END ---
yam_cm ()
{
( cd boost/regex/v4;
unzip -o $archdir/boost-1.31.0-regex-patch-20040503.zip; )
runconf=0
makeopt=
makeinstopt=
PYVER="`python -V 2>&1 | sed 's/Python \([0-9]\.[0-9]\).*/\1/'`"
PYTHON_ROOT="$root/$prefix" PYTHON_VERSION="$PYVER" bjam "-sTOOLS=gcc"
# otherwise rebuilding boost does not reinstall static files
#var_insert taropt ' ' -m
find bin/boost/libs/ -type f -a \( -name '*.so.*' -o -name '*.a' \) \
-exec cp -v \{\} $libdir \;
for i in $libdir/libboost_*-gcc-1_31.{so,a}*; do
file=$(basename $i)
ln -svf $file ${i/-gcc-1_31/}
if [[ "$file" == *.so.* ]]; then
ln -svf $file ${i/-gcc-1_31.so.*/.so}
fi
done
find boost/ -type f | while read file ; do
mkdir -v -p $includedir/`dirname $file`
cp -v $file $includedir/$file
done
}
custmain="yam_cm"
hook_add preconf 3 "rm configure"
hook_add inmake 5 "bjam -sTOOLS=gcc"
hook_add postmake 5 "bjam --prefix=$prefix --libdir=$libdir \
--includedir=$includedir -sTOOLS=gcc -sHAVE_ICU=0 --layout=system \
install"

+ 7
- 9
package/public/boost/boost.desc

@ -34,21 +34,19 @@
[U] http://www.boost.org/ [U] http://www.boost.org/
[A] Dave Abrahams [A] Dave Abrahams
[T] Darin Adler
[T] Carl Daniel
[T] Beman Dawes
[T] Doug Gregor
[T] John Maddock
[T] and many more
[A] Darin Adler
[A] Carl Daniel
[A] Beman Dawes
[A] Doug Gregor
[A] John Maddock and many more
[M] The ROCK Linux Project [M] The ROCK Linux Project
[C] extra/development [C] extra/development
[L] OpenSource [L] OpenSource
[S] Stable [S] Stable
[V] 1.31.0
[V] 1.33.1
[P] X -?---5---9 144.100 [P] X -?---5---9 144.100
[D] 919977072 boost_1_31_0.tar.bz2 http://dl.sourceforge.net/sourceforge/boost/
[D] 2192544124 boost_1_33_1.tar.bz2 http://dl.sourceforge.net/sourceforge/boost/
[D] 1338665767 boost-1.31.0-regex-patch-20040503.zip http://dl.sourceforge.net/sourceforge/boost/ [D] 1338665767 boost-1.31.0-regex-patch-20040503.zip http://dl.sourceforge.net/sourceforge/boost/

Loading…
Cancel
Save