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

Side by Side Diff: libraries/jsoncpp-0.5.0/nacl-jsoncpp-0.5.0.sh

Issue 11885025: Allow re-targeting of naclports install (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src
Patch Set: rebase Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 6
7 # nacl-jsoncpp-0.5.0.sh 7 # nacl-jsoncpp-0.5.0.sh
8 # 8 #
9 # usage: nacl-jsoncpp-0.5.0.sh 9 # usage: nacl-jsoncpp-0.5.0.sh
10 # 10 #
(...skipping 23 matching lines...) Expand all
34 ${NACLRANLIB} libjsoncpp.a 34 ${NACLRANLIB} libjsoncpp.a
35 set +x 35 set +x
36 } 36 }
37 37
38 38
39 CustomInstallStep() { 39 CustomInstallStep() {
40 Banner "Installing ${PACKAGE_NAME}" 40 Banner "Installing ${PACKAGE_NAME}"
41 export PACKAGE_DIR="${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}" 41 export PACKAGE_DIR="${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}"
42 42
43 set -x 43 set -x
44 cp ${PACKAGE_DIR}/libjsoncpp.a ${NACL_SDK_USR_LIB} 44 cp ${PACKAGE_DIR}/libjsoncpp.a ${NACLPORTS_LIBDIR}
45 cp -R ${PACKAGE_DIR}/include/json ${NACL_SDK_USR_INCLUDE} 45 cp -R ${PACKAGE_DIR}/include/json ${NACLPORTS_INCLUDE}
46 set +x 46 set +x
47 } 47 }
48 48
49 49
50 CustomPackageInstall() { 50 CustomPackageInstall() {
51 DefaultPreInstallStep 51 DefaultPreInstallStep
52 DefaultDownloadStep 52 DefaultDownloadStep
53 DefaultExtractStep 53 DefaultExtractStep
54 CustomBuildStep 54 CustomBuildStep
55 CustomInstallStep 55 CustomInstallStep
56 DefaultCleanUpStep 56 DefaultCleanUpStep
57 } 57 }
58 58
59 CustomPackageInstall 59 CustomPackageInstall
60 exit 0 60 exit 0
OLDNEW
« no previous file with comments | « libraries/gtest-1.5.0/nacl-gtest-1.5.0.sh ('k') | libraries/libtheora-1.1.1/nacl-libtheora-1.1.1.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698