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

Side by Side Diff: libraries/OpenSceneGraph-2.9.7/nacl-OpenSceneGraph-2.9.7.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) 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-OpenSceneGraph-2.9.7.sh 7 # nacl-OpenSceneGraph-2.9.7.sh
8 # 8 #
9 # usage: nacl-OpenSceneGraph-2.9.7.sh 9 # usage: nacl-OpenSceneGraph-2.9.7.sh
10 # 10 #
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 export RANLIB=${NACLRANLIB} 44 export RANLIB=${NACLRANLIB}
45 export PATH=${NACL_BIN_PATH}:${PATH}; 45 export PATH=${NACL_BIN_PATH}:${PATH};
46 export LIB_OSG=libosg.a 46 export LIB_OSG=libosg.a
47 export LIB_OSGUTIL=libosgUtil.a 47 export LIB_OSGUTIL=libosgUtil.a
48 export LIB_OPENTHREADS=libOpenThreads.a 48 export LIB_OPENTHREADS=libOpenThreads.a
49 49
50 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 50 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
51 } 51 }
52 52
53 CustomInstallStep() { 53 CustomInstallStep() {
54 Remove ${NACL_SDK_USR_INCLUDE}/osg 54 Remove ${NACLPORTS_INCLUDE}/osg
55 Remove ${NACL_SDK_USR_INCLUDE}/osgUtil 55 Remove ${NACLPORTS_INCLUDE}/osgUtil
56 Remove ${NACL_SDK_USR_INCLUDE}/OpenThreads 56 Remove ${NACLPORTS_INCLUDE}/OpenThreads
57 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 57 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
58 cp -R include/osg ${NACL_SDK_USR_INCLUDE}/osg 58 cp -R include/osg ${NACLPORTS_INCLUDE}/osg
59 cp -R include/osgUtil ${NACL_SDK_USR_INCLUDE}/osgUtil 59 cp -R include/osgUtil ${NACLPORTS_INCLUDE}/osgUtil
60 cp -R include/OpenThreads ${NACL_SDK_USR_INCLUDE}/OpenThreads 60 cp -R include/OpenThreads ${NACLPORTS_INCLUDE}/OpenThreads
61 Remove ${NACL_SDK_USR_LIB}/libosg.a 61 Remove ${NACLPORTS_LIBDIR}/libosg.a
62 Remove ${NACL_SDK_USR_LIB}/libosgUtil.a 62 Remove ${NACLPORTS_LIBDIR}/libosgUtil.a
63 Remove ${NACL_SDK_USR_LIB}/libOpenThreads.a 63 Remove ${NACLPORTS_LIBDIR}/libOpenThreads.a
64 install -m 644 ${LIB_OSG} ${NACL_SDK_USR_LIB}/${LIB_OSG} 64 install -m 644 ${LIB_OSG} ${NACLPORTS_LIBDIR}/${LIB_OSG}
65 install -m 644 ${LIB_OSGUTIL} ${NACL_SDK_USR_LIB}/${LIB_OSGUTIL} 65 install -m 644 ${LIB_OSGUTIL} ${NACLPORTS_LIBDIR}/${LIB_OSGUTIL}
66 install -m 644 ${LIB_OPENTHREADS} ${NACL_SDK_USR_LIB}/${LIB_OPENTHREADS} 66 install -m 644 ${LIB_OPENTHREADS} ${NACLPORTS_LIBDIR}/${LIB_OPENTHREADS}
67 DefaultTouchStep 67 DefaultTouchStep
68 } 68 }
69 69
70 CustomPackageInstall() { 70 CustomPackageInstall() {
71 DefaultPreInstallStep 71 DefaultPreInstallStep
72 CustomDownloadStep 72 CustomDownloadStep
73 CustomExtractStep 73 CustomExtractStep
74 DefaultPatchStep 74 DefaultPatchStep
75 CustomConfigureStep 75 CustomConfigureStep
76 DefaultBuildStep 76 DefaultBuildStep
77 CustomInstallStep 77 CustomInstallStep
78 DefaultCleanUpStep 78 DefaultCleanUpStep
79 } 79 }
80 80
81 CustomPackageInstall 81 CustomPackageInstall
82 exit 0 82 exit 0
OLDNEW
« no previous file with comments | « libraries/OpenSceneGraph-2.9.7/nacl-OpenSceneGraph-2.9.7.patch ('k') | libraries/SDL-1.2.14/nacl-SDL-1.2.14.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698