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

Side by Side Diff: ports/lua5.2/build.sh

Issue 132343007: Add top level build script for building packages. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « ports/lua5.1/build.sh ('k') | ports/lua_ppapi/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 source pkg_info
7 source ../../build_tools/common.sh
8 6
9 EXECUTABLES="src/lua${NACL_EXEEXT} src/luac${NACL_EXEEXT}" 7 EXECUTABLES="src/lua${NACL_EXEEXT} src/luac${NACL_EXEEXT}"
10 8
11 BuildStep() { 9 BuildStep() {
12 Banner "Build ${PACKAGE_NAME}" 10 Banner "Build ${PACKAGE_NAME}"
13 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 11 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
14 if [ "${NACL_GLIBC}" = "1" ]; then 12 if [ "${NACL_GLIBC}" = "1" ]; then
15 PLAT=nacl-glibc 13 PLAT=nacl-glibc
16 else 14 else
17 PLAT=nacl-newlib 15 PLAT=nacl-newlib
(...skipping 26 matching lines...) Expand all
44 fi 42 fi
45 } 43 }
46 44
47 45
48 InstallStep() { 46 InstallStep() {
49 Banner "Install ${PACKAGE_NAME}" 47 Banner "Install ${PACKAGE_NAME}"
50 48
51 # TODO: side-by-side install 49 # TODO: side-by-side install
52 LogExecute make PLAT=${PLAT} EXEEXT=${NACL_EXEEXT} "INSTALL_TOP=${NACLPORTS_PR EFIX}" install 50 LogExecute make PLAT=${PLAT} EXEEXT=${NACL_EXEEXT} "INSTALL_TOP=${NACLPORTS_PR EFIX}" install
53 } 51 }
54
55
56 PackageInstall
57 exit 0
OLDNEW
« no previous file with comments | « ports/lua5.1/build.sh ('k') | ports/lua_ppapi/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698