[Lunar-commits] CVS: moonbase/libs/boost BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1

Joel Vennin jol at lunar-linux.org
Mon Nov 15 20:22:59 UTC 2004


Update of /var/cvs/lunar/moonbase/libs/boost
In directory espresso.foo-projects.org:/tmp/cvs-serv18817

Added Files:
	BUILD DEPENDS DETAILS 
Log Message:
First import of boost
Boost is a cross-platform supplement to the C++ standard library. It provides many things, among them
 - help for non-compliant implementations of the standard library
 - additional containers, iterators, and smart-pointer types
 - help for templates
 - ...



--- NEW FILE: BUILD ---
(
   # get python version
   PYTHON_VERSION=`/usr/bin/python -V 2>&1 | sed 's/Python \([0-9][0-9]*\.[0-9][0-9]*\)\..*/\1/'`

   bjam         $OPTS                             \
     		-sBOOST_ROOT=$SOURCE_DIRECTORY    \
		-sPYTHON_ROOT=/usr                \
		-sPYTHON_VERSION=$PYTHON_VERSION &&

   prepare_install  &&
   
   # install libs
   find bin/boost/libs -type f -name "*.a" \
	-exec install -m644 {} /usr/lib \; &&
   find bin/boost/libs -type f -name "*.so*" \
        -exec install -m755 {} /usr/lib \;

   # make proper link
   vp="1_31"
   for x in `find /usr/lib -type f -name "libboost*.so.$VERSION"`; do
     # get basename
     bn=${x%%so*}
     # make link
     ln -sf $x ${bn}so
     ln -sf ${bn}so ${bn/-gcc-$vp/}so
     ln -sf ${bn}a ${bn/-gcc-$vp/}a
   done

   # install source/header files
   find boost -type f \
	-exec install -D -m0644 {} /usr/include/{} \;

   # need to add doc from doxygen ?
) > $C_FIFO 2>&1

--- NEW FILE: DEPENDS ---
depends boost-jam &&
depends Python


--- NEW FILE: DETAILS ---
          MODULE=boost
         VERSION=1.31.0
          SOURCE=$MODULE\_1_31_0.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE\_1_31_0
      SOURCE_URL=$SFORGE_URL/$MODULE/$SOURCE
        WEB_SITE=http://www.boost.org
         ENTERED=20041115
         UPDATED=20041115
        SHORT="Boost is a cross-platform supplement to the C++ standard library"
cat << EOF
Boost is a cross-platform supplement to the C++ standard library. It provides many things, among them 
 - help for non-compliant implementations of the standard library
 - additional containers, iterators, and smart-pointer types
 - help for templates
 - ...
EOF



More information about the Lunar-commits mailing list