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

Side by Side Diff: libraries/lua-5.1.4/nacl-lua-5.1.4.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-lua-5.1.4.sh 7 # nacl-lua-5.1.4.sh
8 # 8 #
9 # usage: nacl-lua-5.1.4.sh 9 # usage: nacl-lua-5.1.4.sh
10 # 10 #
11 # this script downloads, patches, and builds lua for Native Client 11 # this script downloads, patches, and builds lua for Native Client
12 # 12 #
13 13
14 source pkg_info 14 source pkg_info
15 source ../../build_tools/common.sh 15 source ../../build_tools/common.sh
16 16
17 17
18 CustomBuildStep() { 18 CustomBuildStep() {
19 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 19 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
20 make "CC=${NACLCC}" "PLAT=generic" "INSTALL_TOP=${NACL_SDK_USR}" clean 20 make "CC=${NACLCC}" "PLAT=generic" "INSTALL_TOP=${NACLPORTS_PREFIX}" clean
21 PATH=${NACL_BIN_PATH}:${PATH} \ 21 PATH=${NACL_BIN_PATH}:${PATH} \
22 make "CC=${NACLCC}" "PLAT=generic" "INSTALL_TOP=${NACL_SDK_USR}" "MYLIBS=-lnos ys" 22 make "CC=${NACLCC}" "PLAT=generic" "INSTALL_TOP=${NACLPORTS_PREFIX}" "MYLIBS=- lnosys"
23 # TODO: side-by-side install 23 # TODO: side-by-side install
24 make "CC=${NACLCC}" "PLAT=generic" "INSTALL_TOP=${NACL_SDK_USR}" install 24 make "CC=${NACLCC}" "PLAT=generic" "INSTALL_TOP=${NACLPORTS_PREFIX}" install
25 } 25 }
26 26
27 27
28 CustomPackageInstall() { 28 CustomPackageInstall() {
29 DefaultPreInstallStep 29 DefaultPreInstallStep
30 DefaultDownloadStep 30 DefaultDownloadStep
31 DefaultExtractStep 31 DefaultExtractStep
32 DefaultPatchStep 32 DefaultPatchStep
33 CustomBuildStep 33 CustomBuildStep
34 DefaultTouchStep 34 DefaultTouchStep
35 DefaultCleanUpStep 35 DefaultCleanUpStep
36 } 36 }
37 37
38 38
39 CustomPackageInstall 39 CustomPackageInstall
40 exit 0 40 exit 0
OLDNEW
« no previous file with comments | « libraries/libtommath-0.41/nacl-libtommath-0.41.sh ('k') | libraries/nacl-mounts/nacl-nacl-mounts.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698