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

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: 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 # 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 10 matching lines...) Expand all
21 export CXX=${NACLCXX} 21 export CXX=${NACLCXX}
22 export AR=${NACLAR} 22 export AR=${NACLAR}
23 export LD=${NACLLD} 23 export LD=${NACLLD}
24 export RANLIB=${NACLRANLIB} 24 export RANLIB=${NACLRANLIB}
25 DefaultBuildStep 25 DefaultBuildStep
26 } 26 }
27 27
28 28
29 CustomInstallStep() { 29 CustomInstallStep() {
30 # copy libs and headers manually 30 # copy libs and headers manually
31 Banner "Installing ${PACKAGE_NAME} to ${NACL_SDK_USR}" 31 Banner "Installing ${PACKAGE_NAME} to ${NACLPORTS_PREFIX}"
32 ChangeDir ${NACL_SDK_USR_INCLUDE} 32 ChangeDir ${NACLPORTS_INCLUDE}
33 Remove ${PACKAGE_NAME} 33 Remove ${PACKAGE_NAME}
34 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 34 readonly THIS_PACKAGE_PATH=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
35 cp ${THIS_PACKAGE_PATH}/src/headers/*.h ./ 35 cp ${THIS_PACKAGE_PATH}/src/headers/*.h ./
36 ChangeDir ${NACL_SDK_USR_LIB} 36 ChangeDir ${NACLPORTS_LIBDIR}
37 cp ${THIS_PACKAGE_PATH}/*.a . 37 cp ${THIS_PACKAGE_PATH}/*.a .
38 DefaultTouchStep 38 DefaultTouchStep
39 } 39 }
40 40
41 41
42 CustomPackageInstall() { 42 CustomPackageInstall() {
43 DefaultPreInstallStep 43 DefaultPreInstallStep
44 DefaultDownloadBzipStep 44 DefaultDownloadBzipStep
45 DefaultExtractBzipStep 45 DefaultExtractBzipStep
46 DefaultPatchStep 46 DefaultPatchStep
47 CustomBuildStep 47 CustomBuildStep
48 CustomInstallStep 48 CustomInstallStep
49 DefaultCleanUpStep 49 DefaultCleanUpStep
50 } 50 }
51 51
52 52
53 CustomPackageInstall 53 CustomPackageInstall
54 exit 0 54 exit 0
OLDNEW
« no previous file with comments | « libraries/libtheora-1.1.1/nacl-libtheora-1.1.1.sh ('k') | libraries/libtommath-0.41/nacl-libtommath-0.41.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698