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

Side by Side Diff: libraries/glibc-compat/nacl-glibc-compat.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) 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-glibc-compat-0.1.sh 7 # nacl-glibc-compat-0.1.sh
8 # 8 #
9 # usage: nacl-glibc-compat-0.1.sh 9 # usage: nacl-glibc-compat-0.1.sh
10 # 10 #
(...skipping 16 matching lines...) Expand all
27 CustomConfigureStep() { 27 CustomConfigureStep() {
28 Banner "Configuring ${PACKAGE_NAME}" 28 Banner "Configuring ${PACKAGE_NAME}"
29 # export the nacl tools 29 # export the nacl tools
30 export CC=${NACLCC} 30 export CC=${NACLCC}
31 export CXX=${NACLCXX} 31 export CXX=${NACLCXX}
32 export AR=${NACLAR} 32 export AR=${NACLAR}
33 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 33 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
34 } 34 }
35 35
36 CustomInstallStep() { 36 CustomInstallStep() {
37 Remove ${NACL_SDK_USR_LIB}/${LIB_GLIBC_COMPAT} 37 Remove ${NACLPORTS_LIBDIR}/${LIB_GLIBC_COMPAT}
38 Remove ${NACL_SDK_USR_INCLUDE}/glibc-compat 38 Remove ${NACLPORTS_INCLUDE}/glibc-compat
39 install -m 644 out/${LIB_GLIBC_COMPAT} ${NACL_SDK_USR_LIB}/${LIB_GLIBC_COMPAT} 39 install -m 644 out/${LIB_GLIBC_COMPAT} ${NACLPORTS_LIBDIR}/${LIB_GLIBC_COMPAT}
40 cp -r include ${NACL_SDK_USR_INCLUDE}/glibc-compat 40 cp -r include ${NACLPORTS_INCLUDE}/glibc-compat
41 } 41 }
42 42
43 CustomPackageInstall() { 43 CustomPackageInstall() {
44 DefaultPreInstallStep 44 DefaultPreInstallStep
45 CustomExtractStep 45 CustomExtractStep
46 CustomConfigureStep 46 CustomConfigureStep
47 DefaultBuildStep 47 DefaultBuildStep
48 CustomInstallStep 48 CustomInstallStep
49 DefaultCleanUpStep 49 DefaultCleanUpStep
50 } 50 }
51 51
52 CustomPackageInstall 52 CustomPackageInstall
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698