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

Side by Side Diff: libraries/tinyxml/nacl-tinyxml.sh

Issue 11885025: Allow re-targeting of naclports install (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src
Patch Set: 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) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 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-tinyxml.sh 7 # nacl-tinyxml.sh
8 # 8 #
9 # usage: nacl-tinyxml.sh 9 # usage: nacl-tinyxml.sh
10 # 10 #
(...skipping 16 matching lines...) Expand all
27 export AR=${NACLAR} 27 export AR=${NACLAR}
28 export LD=${NACLLD} 28 export LD=${NACLLD}
29 export RANLIB=${NACLRANLIB} 29 export RANLIB=${NACLRANLIB}
30 make clean 30 make clean
31 make OUTPUT=libtinyxml.a 31 make OUTPUT=libtinyxml.a
32 } 32 }
33 33
34 34
35 CustomInstallStep() { 35 CustomInstallStep() {
36 # copy libs and headers manually 36 # copy libs and headers manually
37 Banner "Installing ${PACKAGE_NAME} to ${NACL_SDK_USR}" 37 Banner "Installing ${PACKAGE_NAME} to ${NACLPORTS_PREFIX}"
38 ChangeDir ${NACL_SDK_USR_INCLUDE} 38 ChangeDir ${NACLPORTS_INCLUDE}
39 Remove ${PACKAGE_NAME} 39 Remove ${PACKAGE_NAME}
40 MakeDir ${PACKAGE_NAME} 40 MakeDir ${PACKAGE_NAME}
41 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 41 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
42 cp ${THIS_PACKAGE_PATH}/*.h ${PACKAGE_NAME}/ 42 cp ${THIS_PACKAGE_PATH}/*.h ${PACKAGE_NAME}/
43 ChangeDir ${NACL_SDK_USR_LIB} 43 ChangeDir ${NACLPORTS_LIBDIR}
44 cp ${THIS_PACKAGE_PATH}/*.a . 44 cp ${THIS_PACKAGE_PATH}/*.a .
45 DefaultTouchStep 45 DefaultTouchStep
46 } 46 }
47 47
48 48
49 CustomPackageInstall() { 49 CustomPackageInstall() {
50 DefaultPreInstallStep 50 DefaultPreInstallStep
51 DefaultDownloadStep 51 DefaultDownloadStep
52 DefaultExtractStep 52 DefaultExtractStep
53 DefaultPatchStep 53 DefaultPatchStep
54 CustomBuildStep 54 CustomBuildStep
55 CustomInstallStep 55 CustomInstallStep
56 DefaultCleanUpStep 56 DefaultCleanUpStep
57 } 57 }
58 58
59 59
60 CustomPackageInstall 60 CustomPackageInstall
61 exit 0 61 exit 0
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698