Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Unified Diff: libraries/boost_1_43_0/nacl-boost_1_43_0.sh

Issue 8060015: Update boost to 1.47.0 and, with glibc, build more boost libraries. (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libraries/boost_1_43_0/nacl-boost_1_43_0.patch ('k') | libraries/boost_1_47_0/boost_1_47_0.sha1 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libraries/boost_1_43_0/nacl-boost_1_43_0.sh
===================================================================
--- libraries/boost_1_43_0/nacl-boost_1_43_0.sh (revision 437)
+++ libraries/boost_1_43_0/nacl-boost_1_43_0.sh (working copy)
@@ -1,54 +0,0 @@
-#!/bin/bash
-# Copyright (c) 2011 The Native Client Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-#
-
-# nacl-boost-1.43.0.sh
-#
-# usage: nacl-boost-1.43.0.sh
-#
-# this script downloads, patches, and builds boost for Native Client
-#
-
-readonly URL=http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/boost_1_43_0.tar.gz
-#readonly URL=http://sourceforge.net/projects/boost/files/boost/1.43.0/boost_1_43_0.tar.gz/download
-readonly PATCH_FILE=nacl-boost_1_43_0.patch
-readonly PACKAGE_NAME=boost_1_43_0
-
-source ../../build_tools/common.sh
-
-CustomConfigureStep() {
- Banner "Configuring ${PACKAGE_NAME}"
- # export the nacl tools
- export CC=${NACLCC}
- export CXX=${NACLCXX}
- export AR=${NACLAR}
- export RANLIB=${NACLRANLIB}
- export LIB_BOOST_DATETIME=libboost_datetime.a
- export LIB_BOOST_PROGRAM_OPTIONS=libboost_program_options.a
- ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
-}
-
-CustomInstallStep() {
- Remove ${NACL_SDK_USR_INCLUDE}/boost
- tar cf - --exclude='asio.hpp' --exclude='asio' --exclude='mpi.hpp' --exclude='mpi' boost | ( ChangeDir ${NACL_SDK_USR_INCLUDE}; tar xfp -)
- Remove ${NACL_SDK_USR_LIB}/${LIB_BOOST_DATETIME}
- install -m 644 ${LIB_BOOST_DATETIME} ${NACL_SDK_USR_LIB}/${LIB_BOOST_DATETIME}
- Remove ${NACL_SDK_USR_LIB}/${LIB_BOOST_PROGRAM_OPTIONS}
- install -m 644 ${LIB_BOOST_PROGRAM_OPTIONS} ${NACL_SDK_USR_LIB}/${LIB_BOOST_PROGRAM_OPTIONS}
-}
-
-CustomPackageInstall() {
- DefaultPreInstallStep
- DefaultDownloadStep
- DefaultExtractStep
- DefaultPatchStep
- CustomConfigureStep
- DefaultBuildStep
- CustomInstallStep
- DefaultCleanUpStep
-}
-
-CustomPackageInstall
-exit 0
« no previous file with comments | « libraries/boost_1_43_0/nacl-boost_1_43_0.patch ('k') | libraries/boost_1_47_0/boost_1_47_0.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698