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

Side by Side Diff: libraries/libtomcrypt-1.17/nacl-libtomcrypt-1.17.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 # nacl-libtomcrypt-1.17.sh 6 # nacl-libtomcrypt-1.17.sh
7 # 7 #
8 # usage: nacl-libtomcrypt-1.17.sh 8 # usage: nacl-libtomcrypt-1.17.sh
9 # 9 #
10 # this script downloads, patches, and builds libtomcrypt for Native Client 10 # this script downloads, patches, and builds libtomcrypt for Native Client
(...skipping 14 matching lines...) Expand all
25 export CXX=${NACLCXX} 25 export CXX=${NACLCXX}
26 export AR=${NACLAR} 26 export AR=${NACLAR}
27 export LD=${NACLLD} 27 export LD=${NACLLD}
28 export RANLIB=${NACLRANLIB} 28 export RANLIB=${NACLRANLIB}
29 DefaultBuildStep 29 DefaultBuildStep
30 } 30 }
31 31
32 32
33 CustomInstallStep() { 33 CustomInstallStep() {
34 # copy libs and headers manually 34 # copy libs and headers manually
35 Banner "Installing ${PACKAGE_NAME} to ${NACL_SDK_USR}" 35 Banner "Installing ${PACKAGE_NAME} to ${NACLPORTS_PREFIX}"
36 ChangeDir ${NACL_SDK_USR_INCLUDE} 36 ChangeDir ${NACLPORTS_INCLUDE}
37 Remove ${PACKAGE_NAME} 37 Remove ${PACKAGE_NAME}
38 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 38 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
39 cp ${THIS_PACKAGE_PATH}/src/headers/*.h ./ 39 cp ${THIS_PACKAGE_PATH}/src/headers/*.h ./
40 ChangeDir ${NACL_SDK_USR_LIB} 40 ChangeDir ${NACLPORTS_LIBDIR}
41 cp ${THIS_PACKAGE_PATH}/*.a . 41 cp ${THIS_PACKAGE_PATH}/*.a .
42 DefaultTouchStep 42 DefaultTouchStep
43 } 43 }
44 44
45 45
46 CustomPackageInstall() { 46 CustomPackageInstall() {
47 DefaultPreInstallStep 47 DefaultPreInstallStep
48 DefaultDownloadBzipStep 48 DefaultDownloadBzipStep
49 DefaultExtractBzipStep 49 DefaultExtractBzipStep
50 DefaultPatchStep 50 DefaultPatchStep
51 CustomBuildStep 51 CustomBuildStep
52 CustomInstallStep 52 CustomInstallStep
53 DefaultCleanUpStep 53 DefaultCleanUpStep
54 } 54 }
55 55
56 56
57 CustomPackageInstall 57 CustomPackageInstall
58 exit 0 58 exit 0
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698